Fixed number of hacking errors
* E112 expected an indented block * E122 continuation line missing indentation or outdented * E226 missing whitespace around arithmetic operator * E241 multiple spaces after ':' * E251 unexpected spaces around keyword / parameter equals * E713 test for membership should be 'not in' Change-Id: I7a3676091ac5a4c4e97afc79edf1f23165768d2d
This commit is contained in:
8
tox.ini
8
tox.ini
@@ -48,19 +48,13 @@ setenv = VIRTUAL_ENV={envdir}
|
||||
commands = bash tools/lintstack.sh
|
||||
|
||||
[flake8]
|
||||
# E112 expected an indented block
|
||||
# E122 continuation line missing indentation or outdented
|
||||
# E128 continuation line under-indented for visual indent
|
||||
# E226 missing whitespace around arithmetic operator
|
||||
# E241 multiple spaces after ':'
|
||||
# E251 unexpected spaces around keyword / parameter equals
|
||||
# E713 test for membership should be 'not in'
|
||||
# F402 import 'u' from line 23 shadowed by loop variable
|
||||
# H202 assertRaises Exception too broad
|
||||
# H305 imports not grouped correctly (re: stdlib, six: third-party)
|
||||
# H307 like imports should be grouped together (six and oslo.config.cfg from third-party are separated by whitespace)
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
ignore = E112,E122,E128,E226,E241,E251,E713,F402,H202,H305,H307,H904
|
||||
ignore = E128,F402,H202,H305,H307,H904
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools
|
||||
|
||||
Reference in New Issue
Block a user