-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (100 loc) · 2.7 KB
/
pyproject.toml
File metadata and controls
110 lines (100 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "quarkpan"
version = "1.0.5"
description = "夸克网盘 Python 客户端和命令行工具"
readme = "README.md"
license = {file = "LICENSE"}
authors = [{ name = "QuarkPan Team", email = "tequant.ai@gmail.com" }]
maintainers = [{ name = "QuarkPan Team", email = "tequant.ai@gmail.com" }]
keywords = ["quark", "pan", "cloud", "storage", "cli", "api", "client", "网盘"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: File Transfer Protocol (FTP)",
"Topic :: System :: Archiving",
"Topic :: Utilities",
"Environment :: Console",
"Natural Language :: Chinese (Simplified)",
]
requires-python = ">=3.8"
dependencies = [
"httpx>=0.24.0",
"typer>=0.9.0",
"rich>=13.0.0",
"pydantic>=2.0.0",
"qrcode>=7.4.0",
"tqdm>=4.65.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black",
"isort",
"flake8",
"mypy",
]
test = ["pytest>=7.0.0", "pytest-asyncio>=0.21.0", "pytest-cov"]
[project.urls]
"Homepage" = "https://github.com/lich0821/QuarkPan"
"Bug Reports" = "https://github.com/lich0821/QuarkPan/issues"
"Source" = "https://github.com/lich0821/QuarkPan"
"Documentation" = "https://github.com/lich0821/QuarkPan/blob/main/docs/"
"Changelog" = "https://github.com/lich0821/QuarkPan/releases"
[project.scripts]
quarkpan = "quark_client.cli.main:app"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["quark_client*"]
# 开发工具配置
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 120
known_first_party = ["quark_client"]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
show_error_codes = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
addopts = "-v --tb=short"