Merge "Ignore pep8 W503/W504"
This commit is contained in:
commit
152e0e16e2
10
tox.ini
10
tox.ini
|
@ -84,8 +84,16 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
||||||
#
|
#
|
||||||
# E251 unexpected spaces around keyword / parameter equals
|
# E251 unexpected spaces around keyword / parameter equals
|
||||||
# reason: no improvement in readability
|
# reason: no improvement in readability
|
||||||
|
# W503 line break before binary operator
|
||||||
|
# reason: pep8 itself is not sure about this one and
|
||||||
|
# reversed this rule in 2016
|
||||||
|
# W504 line break after binary operator
|
||||||
|
# reason: no agreement on this being universally
|
||||||
|
# preferable for our code. Disabled to keep checking
|
||||||
|
# tools from getting in our way with regards to this.
|
||||||
|
#
|
||||||
show-source = True
|
show-source = True
|
||||||
ignore = E251
|
ignore = E251,W503,W504
|
||||||
enable-extensions=H106,H203,H204,H205
|
enable-extensions=H106,H203,H204,H205
|
||||||
builtins = _
|
builtins = _
|
||||||
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
||||||
|
|
Loading…
Reference in New Issue