pep8: Enable E226
Enable "E226 missing whitespace around arithmetic operator" And fix problems encountered. Change-Id: I90cbf6220f487a0808e13cd3998c8127be563498
This commit is contained in:
3
tox.ini
3
tox.ini
@@ -109,10 +109,9 @@ commands = bandit -r heat -x tests --skip B101,B104,B107,B110,B310,B311,B404,B41
|
|||||||
[flake8]
|
[flake8]
|
||||||
show-source = true
|
show-source = true
|
||||||
# E123 closing bracket does not match indentation of opening bracket's line
|
# E123 closing bracket does not match indentation of opening bracket's line
|
||||||
# E226 missing whitespace around arithmetic operator
|
|
||||||
# W503 line break before binary operator
|
# W503 line break before binary operator
|
||||||
# W504 line break after binary operator
|
# W504 line break after binary operator
|
||||||
ignore = E123,E226,W503,W504
|
ignore = E123,W503,W504
|
||||||
exclude=.*,dist,*lib/python*,*egg,build,*convergence/scenarios/*
|
exclude=.*,dist,*lib/python*,*egg,build,*convergence/scenarios/*
|
||||||
max-complexity=23
|
max-complexity=23
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user