Skip to content

Commit

Permalink
Update tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Oct 25, 2024
1 parent bd8e450 commit d4ca445
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ passenv =
READTHEDOCS
description =
py{311,312,313,314}: Run unit tests against {envname}.
extras =
dependency_groups =
test
setenv =
PYTHONWARNINGS = error
Expand All @@ -31,8 +31,9 @@ commands=
[testenv:lint]
description =
Run linters.
extras =
dependency_groups =
lint
types
# If you update any of these commands, don't forget to update the equivalent
# GitHub Workflow step
commands =
Expand All @@ -44,7 +45,7 @@ commands =
[testenv:docs]
description =
Build documentation.
extras =
dependency_groups =
docs
commands =
python -c "import shutil; shutil.rmtree('./build/sphinx', ignore_errors=True) if '{env:CLEAN:}' else None"
Expand All @@ -53,7 +54,7 @@ commands =
[testenv:docs-live]
description =
Build documentation.
extras =
dependency_groups =
docs
deps =
sphinx-autobuild
Expand All @@ -71,7 +72,7 @@ commands =
[testenv:ruff]
description =
Run ruff formatting and linting.
extras =
dependency_groups =
lint
commands =
ruff format .
Expand All @@ -80,8 +81,7 @@ commands =
[testenv:mypy]
description =
Run mypy type checking.
extras =
lint
test
dependency_groups =
types
commands =
mypy {posargs}

0 comments on commit d4ca445

Please sign in to comment.