diff options
author | Laurent Peuch <cortex@worlddomination.be> | 2020-03-19 11:27:36 +0100 |
---|---|---|
committer | Laurent Peuch <cortex@worlddomination.be> | 2020-03-19 11:27:36 +0100 |
commit | a4237c8c1a66364ef5ff522b62c3089b3a6b5724 (patch) | |
tree | 9407fded2e0d73b8d726bfbd9c24172445bf7d8f | |
parent | 5be061cb1f64d43296e6db6f6b8d3a891ed326b9 (diff) | |
download | logilab-common-a4237c8c1a66364ef5ff522b62c3089b3a6b5724.tar.gz |
[tox] integrate flake8 with black compatibles options
-rw-r--r-- | tox.ini | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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/* |