summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-14 09:08:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-06-14 09:08:51 +0000
commit0ae8610e959be1b61be17e50a3e2f3202965249b (patch)
tree391f3c6cd94d6d60d280e136377d3f9b60f097a3 /tox.ini
parentAdding upstream version 1.4.15. (diff)
downloadidentify-0ae8610e959be1b61be17e50a3e2f3202965249b.tar.xz
identify-0ae8610e959be1b61be17e50a3e2f3202965249b.zip
Adding upstream version 1.4.19.upstream/1.4.19
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tox.ini')
-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