Update tox.ini

Add more useless pycodestyle checks, and explain what the codes mean.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2017-01-11 14:37:16 +01:00
parent afaa0e025e
commit aa5487d544
1 changed files with 6 additions and 1 deletions

View File

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