-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (113 loc) · 2.99 KB
/
pyproject.toml
File metadata and controls
126 lines (113 loc) · 2.99 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[project]
name = "argclass"
version = "1.6.0"
description = "Declarative CLI parser with type hints, config files, and environment variables - zero dependencies"
authors = [{ name = "Dmitry Orlov", email = "[email protected]" }]
keywords = [
"argparse",
"cli",
"command-line",
"argument-parser",
"type-hints",
"dataclass",
"config",
"environment-variables",
"declarative",
]
requires-python = ">=3.10,<4"
readme = "README.md"
license = "Apache-2.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/mosquito/argclass"
Documentation = "https://docs.argclass.com"
Source = "https://github.com/mosquito/argclass"
Tracker = "https://github.com/mosquito/argclass/issues"
[dependency-groups]
dev = [
"coveralls>=3.3.1",
"pytest>=7.2",
"pytest-cov>=4.0.0",
"ruff>=0.8",
"setuptools>=69.0.2",
"markdown-pytest>=0.3.1",
"pyyaml>=6.0.2,<7",
]
mypy = ["mypy>=1.13"]
docs = [
"sphinx>=7.0",
"furo>=2024.0",
"myst-parser>=3.0",
"sphinx-copybutton>=0.5",
"sphinx-autodoc-typehints>=2.0",
"sphinx-design>=0.6",
"sphinx-sitemap>=2.6",
]
[tool.ruff]
line-length = 80
[tool.ruff.lint]
select = ["E", "F", "W", "C90"]
ignore = ["C901"]
[tool.ruff.lint.per-file-ignores]
"docs/conf.py" = ["E501"]
[tool.uv]
default-groups = [
"dev",
"mypy",
]
[tool.hatch.build.targets.sdist]
include = ["argclass", "tests"]
[tool.hatch.build.targets.wheel]
include = ["argclass"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.coverage.run]
branch = true
source = ["argclass"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"@overload",
"raise NotImplementedError",
]
show_missing = true
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = false
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
follow_imports = "silent"
no_implicit_reexport = true
strict_optional = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = false
files = ["argclass", "tests"]
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
disallow_incomplete_defs = false