We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b867fa2 commit 77dbeabCopy full SHA for 77dbeab
1 file changed
tox.ini
@@ -37,11 +37,9 @@ commands =
37
38
[testenv:pep8]
39
deps =
40
- black
41
- flake8
+ pre-commit
42
commands =
43
- black --check --quiet {posargs:patchwork manage.py}
44
- flake8 {posargs:patchwork manage.py}
+ pre-commit run --all-files --show-diff-on-failure
45
46
[flake8]
47
# Some rules are ignored as their use makes the code more difficult to read:
0 commit comments