Add comment about W503 being skipped

It's on purpose and we do not want to 'fix' occurances. If anything, a
rule checking the opposite of W503 would be preferrable.

Change-Id: I246b23e7e1ead1682167f3bf076ce563697217e6
This commit is contained in:
Monty Taylor 2018-05-09 09:01:54 -05:00
parent 1ac3a3b1f8
commit 9007ab7048
1 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,9 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
# H306 Is about alphabetical imports - there's a lot to fix.
# H4 Are about docstrings and there's just a huge pile of pre-existing issues.
# D* Came from sdk, unknown why they're skipped.
# W503 Is supposed to be off by default but in the latest pycodestyle isn't.
# Also, both openstacksdk and Donald Knuth disagree with the rule. Line
# breaks should occur before the binary operator for readability.
ignore = H103,H306,H4,D100,D101,D102,D103,D104,D105,D200,D202,D204,D205,D211,D301,D400,D401,W503
show-source = True
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build