summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Peuch <cortex@worlddomination.be>2020-03-19 11:27:36 +0100
committerLaurent Peuch <cortex@worlddomination.be>2020-03-19 11:27:36 +0100
commita4237c8c1a66364ef5ff522b62c3089b3a6b5724 (patch)
tree9407fded2e0d73b8d726bfbd9c24172445bf7d8f
parent5be061cb1f64d43296e6db6f6b8d3a891ed326b9 (diff)
downloadlogilab-common-a4237c8c1a66364ef5ff522b62c3089b3a6b5724.tar.gz
[tox] integrate flake8 with black compatibles options
-rw-r--r--tox.ini15
1 files changed, 14 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 63fe6f8..5cf714b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py3,mypy,black,black-run
+envlist=py3,mypy,flake8,black,black-run
[testenv]
deps =
@@ -33,3 +33,16 @@ skip_install = true
deps =
black >= 19.10b0
commands = black .
+
+[testenv:flake8]
+skip_install = true
+deps =
+ flake8 >= 3.6
+commands = flake8
+
+[flake8]
+basepython = python3
+format = pylint
+ignore = W503, E203, E731, E231
+max-line-length = 100
+exclude = docs/*,.tox/*,./test/data/*