Skip to content

Commit

Permalink
Add isort to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Sep 28, 2023
1 parent cb82765 commit b8cf3bb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,20 @@ deps =
commands =
black {toxinidir}/plugins {toxinidir}/tests

[testenv:isort]
deps =
isort
commands =
isort {toxinidir}/plugins {toxinidir}/tests

[testenv:linters]
deps =
{[testenv:black]deps}
{[testenv:isort]deps}
flake8
commands =
black -v --check {toxinidir}/plugins {toxinidir}/tests
isort --check-only --diff {toxinidir}/plugins {toxinidir}/tests
flake8 {posargs} {toxinidir}/plugins {toxinidir}/tests

[flake8]
Expand Down

0 comments on commit b8cf3bb

Please sign in to comment.