Skip to content

Commit a09e245

Browse files
authored
Revert "Modernize pyproject + tox (#1227)" (#1232)
This reverts commit 3f36d49.
1 parent 3f36d49 commit a09e245

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ classifiers = [
4040
dependencies = [
4141
"pytest>=7.0.0",
4242
]
43-
44-
[project.optional-dependencies]
43+
[dependency-groups]
4544
docs = [
4645
"sphinx",
4746
"sphinx_rtd_theme",
@@ -69,7 +68,6 @@ linting = [
6968
"ruff==0.9.5",
7069
"zizmor==1.9.0",
7170
]
72-
7371
[project.urls]
7472
Documentation = "https://pytest-django.readthedocs.io/"
7573
Repository = "https://github.com/pytest-dev/pytest-django"

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ envlist =
88
linting
99

1010
[testenv]
11-
extras =
11+
dependency_groups =
1212
testing
1313
coverage: coverage
1414
mysql: mysql
@@ -43,7 +43,7 @@ commands =
4343
coverage: coverage xml
4444

4545
[testenv:linting]
46-
extras = linting
46+
dependency_groups = linting
4747
commands =
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]
5555
basepython = python3
5656
skip_install = true
57-
extras = docs
57+
dependency_groups = docs
5858
deps =
5959
doc8
6060
commands =
6161
doc8 docs/
6262

6363
[testenv:docs]
64-
extras = docs
64+
dependency_groups = docs
6565
commands = sphinx-build -n -W -b html -d docs/_build/doctrees docs docs/_build/html

0 commit comments

Comments
 (0)