Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ classifiers = [
dependencies = [
"pytest>=7.0.0",
]
[dependency-groups]

[project.optional-dependencies]
docs = [
"sphinx",
"sphinx_rtd_theme",
Expand Down Expand Up @@ -68,6 +69,7 @@ linting = [
"ruff==0.9.5",
"zizmor==1.9.0",
]

[project.urls]
Documentation = "https://pytest-django.readthedocs.io/"
Repository = "https://github.com/pytest-dev/pytest-django"
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ envlist =
linting

[testenv]
dependency_groups =
extras =
testing
coverage: coverage
mysql: mysql
Expand Down Expand Up @@ -43,7 +43,7 @@ commands =
coverage: coverage xml

[testenv:linting]
dependency_groups = linting
extras = linting
commands =
ruff check --diff {posargs:pytest_django pytest_django_test tests}
ruff format --quiet --diff {posargs:pytest_django pytest_django_test tests}
Expand All @@ -54,12 +54,12 @@ commands =
[testenv:doc8]
basepython = python3
skip_install = true
dependency_groups = docs
extras = docs
deps =
doc8
commands =
doc8 docs/

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