Skip to content

Commit 74c567a

Browse files
authored
Merge pull request #294 from altheaden/fix-dependencies
Separate dependencies in `pyproject.toml`
2 parents c26d4c2 + 04ea248 commit 74c567a

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

pyproject.toml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,25 @@ dependencies = [
4646
"scipy>=1.8.0",
4747
"shapely>=2.0,<3.0",
4848
"xarray",
49-
"pre-commit",
49+
]
50+
51+
[project.optional-dependencies]
52+
docs = [
53+
# building documentation
54+
"sphinx >=7.0.0",
55+
"sphinx_rtd_theme",
56+
"myst-parser",
57+
"sphinx-multiversion",
58+
]
59+
60+
dev = [
61+
# linting and testing
62+
"flynt",
5063
"mypy",
64+
"pip",
65+
"pytest",
66+
"pre-commit",
5167
"ruff",
52-
"flynt",
5368
]
5469

5570
[tool.mypy]

0 commit comments

Comments
 (0)