diff options
author | John L. Villalovos <openstack.org@sodarock.com> | 2018-04-11 09:33:45 -0700 |
---|---|---|
committer | Dmitry Tantsur <divius.inside@gmail.com> | 2018-05-28 08:36:07 +0000 |
commit | 4edda4842392abebc0531f79e838047c6b97be16 (patch) | |
tree | d359755530e1141d5192ccf93aad25a39ee845aa | |
parent | 9928e15c7f706dd84104a0df3488a928dde7b20d (diff) | |
download | ironic-python-agent-4edda4842392abebc0531f79e838047c6b97be16.tar.gz |
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
(cherry picked from commit c09634ad80988e960af2bcaca737be3e87ba7592)
-rw-r--r-- | tox.ini | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -63,7 +63,9 @@ envdir = {toxworkdir}/venv 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 |