Skip to content

Commit 7622e69

Browse files
committed
remove sphinx dependencies when not required
1 parent 16b7b0e commit 7622e69

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

template/pyproject.toml.jinja

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,22 @@ requires-python = ">=3.7"
2323
[project.optional-dependencies]
2424
dev = [
2525
"copier",
26+
{% if sphinx %}
2627
"myst-parser",
28+
{% endif %}
2729
"pipdeptree",
2830
"pre-commit",
31+
{% if sphinx %}
2932
"pydata-sphinx-theme>=0.12",
33+
{% endif %}
3034
"pyright",
3135
"pytest",
3236
"pytest-cov",
3337
"ruff",
34-
"sphinx-autobuild",
38+
{% if sphinx %}
3539
"sphinx-copybutton",
3640
"sphinx-design",
41+
{% endif %}
3742
"tox-direct",
3843
"types-mock",
3944
]

0 commit comments

Comments
 (0)