For flake8 check, make the 'E12' ignore be more granular
ignore = E12 means ignore E12* errors. Make it more granular by converting to E121,E122,...,E129 This will make it easier in the future to remove a single ignore and update the code to resolve the issues. Change-Id: Iddff6a826bc7c9ff07643b7408c51f1bd129530c
This commit is contained in:
parent
2f39d6e7dd
commit
bb6a0b29c9
2
tox.ini
2
tox.ini
@ -52,7 +52,7 @@ commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
# E711: ignored because it is normal to use "column == None" in sqlalchemy
|
||||
ignore = E12,E711
|
||||
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E711
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,*ironic/nova*
|
||||
max-complexity=17
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user