flake8: adapt to the newer rules
Probably coming from a newer pycodestyle. Follow along with the earlier sahara changes, see also: https://review.opendev.org/633912 In a nutshell: ignore W504 and W605. Change-Id: I5737f94abf55b086b1a5a50fcf4a3150a3a759d0
This commit is contained in:
parent
f9ca0def9a
commit
46a8391a8a
4
tox.ini
4
tox.ini
|
@ -100,7 +100,9 @@ enable-extensions=H904,H106,H203,H204,H205
|
|||
# [E402] Module level import not at top of file
|
||||
# [E731] Do not assign a lambda expression, use a def
|
||||
# [W503] Line break occurred before a binary operator
|
||||
ignore=E123,E226,E402,E731,W503
|
||||
# [W504] Line break occurred after a binary operator
|
||||
# [W605] Invalid escape sequence 'x'
|
||||
ignore=E123,E226,E402,E731,W503,W504,W605
|
||||
|
||||
[testenv:lower-constraints]
|
||||
basepython = python3
|
||||
|
|
Loading…
Reference in New Issue