-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
135 lines (118 loc) · 3.2 KB
/
pyproject.toml
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "fast-dev-cli"
dynamic = ["version"]
description = "Python project development tool."
authors = [{name = "Waket Zheng", email = "waketzheng@gmail.com>"}]
readme = "README.md"
requires-python = ">=3.10,<4"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"typer>=0.12.3,<0.13",
"emoji >=2.12.1,<3",
"tomli>=2.0.1,<3; python_version < '3.11'"
]
[project.urls]
Homepage = "https://github.com/waketzheng/fast-dev-cli"
[project.optional-dependencies]
standard = [
"coverage >=7.5.1,<8",
"ruff >=0.4.4,<0.8",
"mypy >=1.10.0,<2",
"bumpversion2 >=1.4.3,<2",
"pytest >=8.2.0,<9",
]
all = [
"bandit>=1.7.9,<2",
"ipython >=8.24.0,<9",
"pytest-mock >=3.14.0,<4",
"fast-dev-cli[standard]"
]
[tool.pdm]
version = { source = "file", path = "fast_dev_cli/__init__.py" }
distribution = true
[tool.pdm.build]
source-includes = [
"scripts/",
]
[tool.pdm.dev-dependencies]
dev = ["-e file:///${PROJECT_ROOT}/#egg=fast-dev-cli[all]"]
[tool.waketzheng._internal-slim-build.packages.fastdevcli-slim.project]
name = "fastdevcli-slim"
[tool.waketzheng._internal-slim-build.packages.fast-dev-cli]
include-optional-dependencies = ["standard"]
[tool.waketzheng._internal-slim-build.packages.fast-dev-cli.project.optional-dependencies]
all = [
"ipython >=8.24.0,<9",
"pytest-mock >=3.14.0,<4",
]
[tool.waketzheng._internal-slim-build.packages.fastdevcli-slim.project.scripts]
fast = "fast_dev_cli:cli.main"
[tool.waketzheng._internal-slim-build.packages.fast-dev-cli.project.scripts]
fast = "fast_dev_cli:cli.main"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.coverage.run]
parallel = true
source = [
"fast_dev_cli"
]
omit = [
"__pypackages__/*",
".venv/*",
"venv*.bak/*"
]
context = '${CONTEXT}'
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@overload",
'if __name__ == "__main__":',
"if TYPE_CHECKING:",
]
omit = [
"tests/*",
"fast_dev_cli/__main__.py",
]
[tool.mypy]
pretty = true
ignore_missing_imports = true
check_untyped_defs = true
exclude = [
"^fabfile\\.py$", # TOML's double-quoted strings require escaping backslashes
'two\.pyi$', # but TOML's single-quoted strings do not
'^\.venv',
'\.bak',
'__pypackages__',
]
[tool.ruff.lint]
extend-select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = ["E501"]