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:
parent
afaa0e025e
commit
aa5487d544
7
tox.ini
7
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/*
|
||||
|
Loading…
Reference in New Issue
Block a user