File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,7 @@ classifiers = [
40
40
dependencies = [
41
41
" pytest>=7.0.0" ,
42
42
]
43
-
44
- [project .optional-dependencies ]
43
+ [dependency-groups ]
45
44
docs = [
46
45
" sphinx" ,
47
46
" sphinx_rtd_theme" ,
@@ -69,7 +68,6 @@ linting = [
69
68
" ruff==0.9.5" ,
70
69
" zizmor==1.9.0" ,
71
70
]
72
-
73
71
[project .urls ]
74
72
Documentation = " https://pytest-django.readthedocs.io/"
75
73
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
- extras =
11
+ dependency_groups =
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
- extras = linting
46
+ dependency_groups = 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
- extras = docs
57
+ dependency_groups = docs
58
58
deps =
59
59
doc8
60
60
commands =
61
61
doc8 docs/
62
62
63
63
[testenv:docs]
64
- extras = docs
64
+ dependency_groups = 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