8000 Update tox.ini · sphinx-doc/sphinx@d4ca445 · GitHub
[go: up one dir, main page]

Skip to content

Commit d4ca445

Browse files
committed
Update tox.ini
1 parent bd8e450 commit d4ca445

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tox.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ passenv =
2020
READTHEDOCS
2121
description =
2222
py{311,312,313,314}: Run unit tests against {envname}.
23-
extras =
23+
dependency_groups =
2424
test
2525
setenv =
2626
PYTHONWARNINGS = error
@@ -31,8 +31,9 @@ commands=
3131
[testenv:lint]
3232
description =
3333
Run linters.
34-
extras =
34+
dependency_groups =
3535
lint
36+
types
3637
# If you update any of these commands, don't forget to update the equivalent
3738
# GitHub Workflow step
3839
commands =
@@ -44,7 +45,7 @@ commands =
4445
[testenv:docs]
4546
description =
4647
Build documentation.
47< 8000 /td>-
extras =
48+
dependency_groups =
4849
docs
4950
commands =
5051
python -c "import shutil; shutil.rmtree('./build/sphinx', ignore_errors=True) if '{env:CLEAN:}' else None"
@@ -53,7 +54,7 @@ commands =
5354
[testenv:docs-live]
5455
description =
5556
Build documentation.
56-
extras =
57+
dependency_groups =
5758
docs
5859
deps =
5960
sphinx-autobuild
@@ -71,7 +72,7 @@ commands =
7172
[testenv:ruff]
7273
description =
7374
Run ruff formatting and linting.
74-
extras =
75+
dependency_groups =
7576
lint
7677
commands =
7778
ruff format .
@@ -80,8 +81,7 @@ commands =
8081
[testenv:mypy]
8182
description =
8283
Run mypy type checking.
83-
extras =
84-
lint
85-
test
84+
dependency_groups =
85+
types
8686
commands =
8787
mypy {posargs}

0 commit comments

Comments
 (0)
0