From aa5487d544c0d2aac6da8ae9276480ad33f5abea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Wed, 11 Jan 2017 14:37:16 +0100 Subject: [PATCH] Update tox.ini MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add more useless pycodestyle checks, and explain what the codes mean. Signed-off-by: Lubomír Sedlář --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9a53e4a6..dbfff097 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,12 @@ [flake8] exclude = doc/*,*.pyc,*.py~,*.in,*.spec,*.sh,*.rst,setup.py filename = *.py -ignore = E501,E402 + +# E402: module level import not at top of file +# E501: line too long +# H301: one import per line +# H306: imports not in alphabetical order +ignore = E501,E402,H301,H306 [run] omit = tests/*