Skip to content

Commit 48a3fa9

Browse files
committed
tox: Use pre-commit for 'pep8' target
Signed-off-by: Stephen Finucane <[email protected]>
1 parent fd98e1e commit 48a3fa9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tox.ini

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ commands =
1111
[testenv:pep8]
1212
skip_install = true
1313
deps =
14-
flake8
15-
black
14+
pre-commit
1615
commands =
17-
black --check --quiet git_pw tests
18-
flake8 {posargs:git_pw tests docs}
16+
pre-commit run --all-files --show-diff-on-failure
1917

2018
[testenv:mypy]
2119
deps=

0 commit comments

Comments
 (0)