flake8: Add W503 to ignore list as invalid

W503 according to the [1] pycodestyle docs is not supposed to be
enabled. But it is.

W503 is something we will likely never enable as it is a personal
style decision and can change depending on the code. There is no one
right answer. Interestingly there is also a W504 which is the opposite
check.

[1] http://pycodestyle.pycqa.org/en/latest/intro.html#error-codes

Change-Id: I1025f21a57837e97280f82baba50fdd823a190cc
This commit is contained in:
John L. Villalovos 2018-04-11 09:33:45 -07:00
parent ae0544cc1a
commit c09634ad80

View File

@ -68,7 +68,9 @@ commands =
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8]
ignore = E129
# [E129] visually indented line with same indent as next logical line.
# [W503] Line break before binary operator.
ignore = E129,W503
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,imagebuild/tinyipa/tinyipafinal,imagebuild/tinyipa/tinyipabuild
import-order-style = pep8
application-import-names = ironic_python_agent