-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
140 lines (130 loc) · 3.04 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
136
137
138
139
140
[project]
name = "typer-config"
version = "1.4.2"
description = "Utilities for working with configuration files in typer CLIs. "
authors = [
{ name = "Matt Anderson", email = "matt@mandersience.com" }
]
readme = "README.md"
license = "MIT"
repository = "https://github.com/maxb2/typer-config"
documentation = "https://maxb2.github.io/typer-config/"
homepage = "https://maxb2.github.io/typer-config/"
keywords = [
"typer",
"config",
"configuration",
"configuration-file",
"yaml",
"toml",
"json",
"dotenv",
"cli"
]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License"
]
requires-python = ">=3.9"
dependencies = [
"typer==0.*",
]
[project.optional-dependencies]
all = [
"python-dotenv>=0",
"toml>=0.10.2,<1",
"pyyaml==6.*",
]
python-dotenv = [
"python-dotenv>=0",
]
toml = [
"toml>=0.10.2,<1",
]
yaml = [
"pyyaml==6.*",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = [
"src/typer_config/*.py",
"src/typer_config/py.typed",
]
[tool.hatch.build.targets.wheel]
sources = ["src"]
[dependency-groups]
dev = [
"black>=24.10.0",
"mike>=2.1.3",
"mkdocs-gen-files>=0.5.0",
"mkdocs-material>=9.5.49",
"mkdocstrings[python]>=0.27.0",
"mypy>=1.13.0",
"pydantic>=2.10.3",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"schema>=0.7.7",
]
[tool.ruff.lint]
extend-select = [ # https://beta.ruff.rs/docs/rules/
"A",
"ANN",
"ARG",
"B",
"BLE",
"C4",
"D",
"E",
"EM",
"ERA",
"F",
"FA",
"FBT",
"FIX",
"I",
"ISC",
"ICN",
"INP",
"PERF",
"PIE",
"PL",
"PT",
"Q",
"RSE",
"RET",
"RUF",
"S",
"SIM",
"T10",
"T20",
"TCH",
"TD",
"TID",
"YTT"]
extend-ignore = ["D202", "D205", "D107"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/*.py" = ["ANN", "S", "ARG001", "B008", "RUF015"]
"tests/doc_examples.py" = ["FA100"]
"docs_gen_files.py" = ["ANN201"]
"duties.py" = ["ANN201", "ARG001"]
[tool.ruff.lint.pydocstyle]
convention = "google" # Accepts: "google", "numpy", or "pep257".
[tool.pytest.ini_options]
addopts = "-p no:warnings"