mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Run pre-commit hooks in tox (and thus travis)
This commit is contained in:
parent
b07572e325
commit
b025b6d55f
2 changed files with 4 additions and 3 deletions
1
tox.ini
1
tox.ini
|
|
@ -14,6 +14,7 @@ commands =
|
|||
coverage report --show-missing --fail-under 99
|
||||
flake8 {[tox]project} testing tests setup.py
|
||||
# pylint {[tox]project} testing tests setup.py
|
||||
pre-commit run --all-files
|
||||
|
||||
[testenv:venv]
|
||||
envdir = venv-{[tox]project}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue