-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (82 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
93 lines (82 loc) · 2.19 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
[project]
authors = [
{name = "Amirhossein Davoody", email = "amirhossein.davoody@gmail.com"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"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 :: Utilities",
]
dependencies = ["result"]
description = "A utility for creating command-line argument parsers from dataclasses"
keywords = ["argparse", "dataclass", "cli", "command-line", "configuration"]
license = {text = "MIT"}
name = "dataclass-argparser"
readme = "README.md"
requires-python = ">=3.9"
version = "2026.1.21.1"
[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "PyYAML"]
test = ["pytest", "pytest-cov"]
yaml = ["PyYAML"]
[project.urls]
Homepage = "https://github.com/amirhosseindavoody/dataclass_argparser"
Repository = "https://github.com/amirhosseindavoody/dataclass_argparser"
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.hatch.build.targets.wheel]
packages = ["src/dataclass_argparser"]
[tool.hatch.build.targets.sdist]
exclude = [
"__pycache__",
"*.py[co]",
".pytest_cache",
"**/__pycache__",
"**/*.py[co]",
"**/.pytest_cache",
]
include = [
"/src",
"/examples",
"/tests",
"/README.md",
"/pyproject.toml",
]
[tool.hatch.build]
directory = "."
[tool.hatch.build.targets.wheel.sources]
"src" = ""
[tool.pytest.ini_options]
python_classes = ["Test*"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
testpaths = ["tests"]
[tool.coverage.run]
omit = [
"*/tests/*",
"*/examples/*",
]
source = ["src/dataclass_argparser"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]
[tool.pyrefly]
python-interpreter-path = ".pixi/envs/default/bin/python"