Merge "Add E123,E125 check and Solve several problems"
This commit is contained in:
commit
7a76c470fa
3
tox.ini
3
tox.ini
@ -30,13 +30,12 @@ commands = oslo_debug_helper {posargs}
|
|||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 100
|
max-line-length = 100
|
||||||
show-source = True
|
show-source = True
|
||||||
# E123, E125 skipped as they are invalid PEP-8.
|
|
||||||
# H233: Python 3.x incompatible use of print operator
|
# H233: Python 3.x incompatible use of print operator
|
||||||
# H236: Python 3.x incompatible __metaclass__, use six.add_metaclass()
|
# H236: Python 3.x incompatible __metaclass__, use six.add_metaclass()
|
||||||
# E302: expected 2 blank linee
|
# E302: expected 2 blank linee
|
||||||
# E303: too many blank lines (2)
|
# E303: too many blank lines (2)
|
||||||
# H404: multi line docstring should start without a leading new line
|
# H404: multi line docstring should start without a leading new line
|
||||||
# H405: multi line docstring summary not separated with an empty line
|
# H405: multi line docstring summary not separated with an empty line
|
||||||
ignore = E123,E125,H233,H236,E302,E303,H404,H405
|
ignore = H233,H236,E302,E303,H404,H405
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||||
|
Loading…
Reference in New Issue
Block a user