Skip to content

Commit e9652c3

Browse files
committed
Sorts dependencies into groups
1 parent 03c0c20 commit e9652c3

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

pyproject.toml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,32 @@ requires-python = ">=3.10"
1515
dependencies = [
1616
"matplotlib>=3.8.3",
1717
"numpy>=1.20",
18-
"orsopy>=1.2.1",
19-
"pint>=0.24.4",
2018
"prettytable>=3.9.0",
2119
"pybind11>=2.4",
2220
"pydantic>=2.7.2",
23-
"pytest>=7.4.0",
24-
"pytest-cov>=4.1.0",
25-
"ruff>=0.4.10",
2621
"scipy>=1.13.1",
2722
"strenum>=0.4.15 ; python_full_version < '3.11'",
2823
"tqdm>=4.66.5",
2924
]
3025

26+
[project.optional-dependencies]
27+
orso = [
28+
"orsopy>=1.2.1",
29+
"pint>=0.24.4"
30+
]
31+
32+
[dependency-groups]
33+
dev = [
34+
{include-group = "lint"},
35+
{include-group = "test"}
36+
]
37+
lint = [
38+
"ruff>=0.4.10"
39+
]
40+
test = [
41+
"pytest>=7.4.0", "pytest-cov>=4.1.0"
42+
]
43+
3144
[tool.ruff]
3245
line-length = 120
3346
extend-exclude = ["*.ipynb"]

0 commit comments

Comments
 (0)