Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd9ecd7f

Browse files
committed
add uv as python package management
1 parenta4fa5a8 commitd9ecd7f

File tree

3 files changed

+27
-34
lines changed

3 files changed

+27
-34
lines changed

‎pyproject.toml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ classifiers = [
1515
"Programming Language :: Python :: 3.10",
1616
"Programming Language :: Python :: 3.11",
1717
"Programming Language :: Python :: 3.12",
18-
"Programming Language :: Python :: 3.8",
19-
"Programming Language :: Python :: 3.9",
2018
]
2119
description ="A Python boilet template for different types of projects."
2220
dynamic = ["version"]

‎template/ci.py‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
importsubprocess
2+
3+
4+
5+
defcoverage():
6+
fromqpyci.commandsimportrun_tests
7+
run_tests('qpyconf')
8+
9+
10+
defcheck_format():
11+
subprocess.run(['uvx','ruff','check','--fix'],check=True)
12+
subprocess.run(['uvx','ruff','format'],check=True)
13+
14+
defci():
15+
subprocess.run(['uv','run','cov'],check=True)
16+
subprocess.run(['uv','run','badge'],check=True)
17+
18+
19+
# if __name__ == "__main__":
20+
# import sys
21+
# if len(sys.argv) > 1:
22+
# if sys.argv[1] == 'check':
23+
# check_format()
24+
# elif sys.argv[1] == 'cov':
25+
# coverage()
26+
# else:
27+
# check_format()

‎template/src/{{module_name}}/config/__init__.py‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp