diff --git a/tox.ini b/tox.ini index f8897a9..35f51b2 100644 --- a/tox.ini +++ b/tox.ini @@ -25,14 +25,25 @@ addopts= testpaths=docs src/sortedcontainers tests [testenv:rufflint] -commands=ruff {toxinidir}/src +commands=ruff check {toxinidir}/src deps=ruff +skip_install=True + +[testenv:rufflintfix] +commands=ruff check --fix {toxinidir}/src +deps=ruff +skip_install=True [testenv:ruffformatcheck] commands=ruff format --check {toxinidir} deps=ruff skip_install=True +[testenv:ruffformat] +commands=ruff format {toxinidir} +deps=ruff +skip_install=True + [testenv:doc8] commands=doc8 docs --ignore-path docs/_build deps=doc8