Skip to content

Commit 21cb3be

Browse files
committed
fix(metadata): absolute Python requirement alignment to >=3.10
1 parent e794c8d commit 21cb3be

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,34 @@ dependencies = [
1919
"torch>=2.2.0"
2020
]
2121

22+
[project.optional-dependencies]
23+
dev = [
24+
"pytest>=8.0.0",
25+
"pytest-cov>=4.1.0",
26+
"mypy>=1.9.0",
27+
"ruff>=0.3.0",
28+
"hypothesis>=6.98.0",
29+
"mkdocs-material>=9.5.0",
30+
"mkdocstrings[python]>=0.24.0"
31+
]
32+
2233
[tool.hatch.build.targets.wheel]
2334
packages = ["src/nrc_math"]
35+
36+
[tool.ruff]
37+
line-length = 100
38+
target-version = "py312"
39+
40+
[tool.ruff.lint]
41+
select = ["E", "W", "F", "I", "C", "B"]
42+
ignore = ["E402"]
43+
44+
[tool.mypy]
45+
strict = true
46+
python_version = "3.12"
47+
warn_return_any = true
48+
warn_unused_configs = true
49+
50+
[[tool.mypy.overrides]]
51+
module = "tests.*"
52+
ignore_errors = true

0 commit comments

Comments
 (0)