summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-14 09:08:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-14 09:08:55 +0000
commit39400c872324d7da8da13a108030729d0692943f (patch)
treeaa5703d8711ea0e07415cbdad5c5757c10551a06 /tox.ini
parentReleasing debian version 1.4.15-1. (diff)
downloadidentify-39400c872324d7da8da13a108030729d0692943f.tar.xz
identify-39400c872324d7da8da13a108030729d0692943f.zip
Merging upstream version 1.4.19.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tox.ini9
1 files changed, 6 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index d222704..33cae3c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,py35,py36,pypy
+envlist = py27,py35,py36,pypy,pre-commit
tox_pip_extensions_ext_venv_update = true
[testenv]
@@ -9,8 +9,11 @@ commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report --fail-under 100
- pre-commit install -f --install-hooks
- pre-commit run --all-files
+
+[testenv:pre-commit]
+skip_install = true
+deps = pre-commit
+commands = pre-commit run --all-files --show-diff-on-failure
[flake8]
max-line-length = 119