-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathpyproject.toml
52 lines (43 loc) · 1.18 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
[project]
authors = [
{ name = "Fabrice Normandin", email = "[email protected]" },
]
name = "simple-parsing"
dynamic = ["version"]
description = "A small utility to simplify and clean up argument parsing scripts."
readme = "README.md"
requires-python = ">=3.9"
dependencies = ["docstring-parser~=0.15", "typing-extensions>=4.5.0"]
license = { file = "LICENSE" }
[project.optional-dependencies]
yaml = ["pyyaml>=6.0.2"]
toml = ["tomli>=2.2.1", "tomli-w>=1.0.0"]
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.ruff]
line-length = 99
[tool.pytest]
addopts = ["--doctest-modules", "--benchmark-autosave"]
testpaths = ["test", "simple_parsing"]
norecursedirs = ["examples", "docs"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "I", "UP"]
[tool.docformatter]
in-place = true
wrap-summaries = 99
wrap-descriptions = 99
[tool.codespell]
skip = ["logs/**", "data/**"]
[dependency-groups]
dev = [
"matplotlib>=3.9.4",
"numpy>=2.0.2",
"pytest>=8.3.4",
"pytest-benchmark>=5.1.0",
"pytest-cov>=6.0.0",
"pytest-regressions>=2.7.0",
"pytest-xdist>=3.6.1",
]