Skip to content

Commit f382798

Browse files
authored
remove sphinx dependencies when not required (#94)
2 parents 528dc64 + b08ec09 commit f382798

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

template/pyproject.toml.jinja

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ requires-python = ">=3.7"
2323
[project.optional-dependencies]
2424
dev = [
2525
"copier",
26-
"myst-parser",
27-
"pipdeptree",
26+
{% if sphinx %}"myst-parser",
27+
{% endif %}"pipdeptree",
2828
"pre-commit",
29-
"pydata-sphinx-theme>=0.12",
30-
"pyright",
29+
{% if sphinx %}"pydata-sphinx-theme>=0.12",
30+
{% endif %}"pyright",
3131
"pytest",
3232
"pytest-cov",
3333
"ruff",
34-
"sphinx-autobuild",
34+
{% if sphinx %}"sphinx-autobuild",
3535
"sphinx-copybutton",
3636
"sphinx-design",
37-
"tox-direct",
37+
{% endif %}"tox-direct",
3838
"types-mock",
3939
]
4040

0 commit comments

Comments
 (0)