Skip to content

Commit

Permalink
Add optional dependecies to pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdnolan committed Aug 30, 2024
1 parent 6d496de commit 7f855c1
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,24 @@ dependencies = [
"xarray",
]

[project.optional-dependencies]
docs = [
# building documentation
"sphinx",
"myst-parser",
"sphinx-book-theme",
]

dev = [
# linting and testing
"pip",
"isort",
"flynt",
"flake8",
"mypy",
"pre-commit",
]

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
Expand All @@ -36,7 +54,6 @@ include_trailing_comma = true
force_grid_wrap = "0"
use_parentheses = true
line_length = "79"
skip = "e3sm_diags/e3sm_diags_driver.py"

[tool.mypy]
python_version = "3.10"
Expand Down

0 comments on commit 7f855c1

Please sign in to comment.