Skip to content

Commit

Permalink
Add rufflintfix and ruffformat
Browse files Browse the repository at this point in the history
  • Loading branch information
grantjenks committed Mar 1, 2024
1 parent 1ed759b commit 7a9c087
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a9c087

Please sign in to comment.