summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2016-01-30 22:01:27 +0100
committerThomas Waldmann <tw@waldmann-edv.de>2016-01-30 22:01:27 +0100
commit2a2362fc2fce52bd5ede01a081509c871153566b (patch)
treec4db829f28ecbba3a3a16594cdf524263b76cce6 /tox.ini
parent4b339f5d69eaea253b9ad7f7a45d757f44209851 (diff)
add flake8 style checking
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index bc9e6db8a..0473cb271 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,7 @@
# fakeroot -u tox --recreate
[tox]
-envlist = py{34,35}
+envlist = py{34,35},flake8
[testenv]
# Change dir to avoid import problem for cython code. The directory does
@@ -14,3 +14,8 @@ deps =
commands = py.test --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *
+
+[testenv:flake8]
+changedir =
+deps = flake8
+commands = flake8