File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ classifiers = [
4040dependencies = [
4141 " pytest>=7.0.0" ,
4242]
43- [dependency-groups ]
43+
44+ [project .optional-dependencies ]
4445docs = [
4546 " sphinx" ,
4647 " sphinx_rtd_theme" ,
@@ -68,6 +69,7 @@ linting = [
6869 " ruff==0.9.5" ,
6970 " zizmor==1.9.0" ,
7071]
72+
7173[project .urls ]
7274Documentation = " https://pytest-django.readthedocs.io/"
7375Repository = " https://github.com/pytest-dev/pytest-django"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ envlist =
88 linting
99
1010[testenv]
11- dependency_groups =
11+ extras =
1212 testing
1313 coverage: coverage
1414 mysql: mysql
@@ -43,7 +43,7 @@ commands =
4343 coverage: coverage xml
4444
4545[testenv:linting]
46- dependency_groups = linting
46+ extras = linting
4747commands =
4848 ruff check --diff {posargs:pytest_django pytest_django_test tests}
4949 ruff format --quiet --diff {posargs:pytest_django pytest_django_test tests}
@@ -54,12 +54,12 @@ commands =
5454[testenv:doc8]
5555basepython = python3
5656skip_install = true
57- dependency_groups = docs
57+ extras = docs
5858deps =
5959 doc8
6060commands =
6161 doc8 docs/
6262
6363[testenv:docs]
64- dependency_groups = docs
64+ extras = docs
6565commands = sphinx-build -n -W -b html -d docs/_build/doctrees docs docs/_build/html
You can’t perform that action at this time.
0 commit comments