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 = [
40
40
dependencies = [
41
41
" pytest>=7.0.0" ,
42
42
]
43
- [dependency-groups ]
43
+
44
+ [project .optional-dependencies ]
44
45
docs = [
45
46
" sphinx" ,
46
47
" sphinx_rtd_theme" ,
@@ -68,6 +69,7 @@ linting = [
68
69
" ruff==0.9.5" ,
69
70
" zizmor==1.9.0" ,
70
71
]
72
+
71
73
[project .urls ]
72
74
Documentation = " https://pytest-django.readthedocs.io/"
73
75
Repository = " https://github.com/pytest-dev/pytest-django"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ envlist =
8
8
linting
9
9
10
10
[testenv]
11
- dependency_groups =
11
+ extras =
12
12
testing
13
13
coverage: coverage
14
14
mysql: mysql
@@ -43,7 +43,7 @@ commands =
43
43
coverage: coverage xml
44
44
45
45
[testenv:linting]
46
- dependency_groups = linting
46
+ extras = linting
47
47
commands =
48
48
ruff check --diff {posargs:pytest_django pytest_django_test tests}
49
49
ruff format --quiet --diff {posargs:pytest_django pytest_django_test tests}
@@ -54,12 +54,12 @@ commands =
54
54
[testenv:doc8]
55
55
basepython = python3
56
56
skip_install = true
57
- dependency_groups = docs
57
+ extras = docs
58
58
deps =
59
59
doc8
60
60
commands =
61
61
doc8 docs/
62
62
63
63
[testenv:docs]
64
- dependency_groups = docs
64
+ extras = docs
65
65
commands = 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