Skip to content

Commit

Permalink
tox: Use pre-commit for pep8 target
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Jan 17, 2024
1 parent ff2befa commit ead2164
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ commands =
[testenv:pep8]
skip_install = true
deps =
flake8==4.0.1
black==22.3.0
pre-commit
commands =
black --check --quiet {posargs:pwclient tests}
flake8 {posargs:pwclient tests}
pre-commit run --all-files --show-diff-on-failure

[testenv:mypy]
deps=
Expand Down

0 comments on commit ead2164

Please sign in to comment.