From 7f855c1f8eeb4d4d4328842683a359371fe65138 Mon Sep 17 00:00:00 2001 From: Andrew Nolan Date: Fri, 30 Aug 2024 12:09:08 -0600 Subject: [PATCH] Add optional dependecies to pyproject --- pyproject.toml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index add134b..55771a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -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"