diff 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/* |