hacking: Resolve W605 (invalid escape sequence)

This one's actually important since it will be an error in future
versions of Python.

Change-Id: Ib9f735216773224f91ac7f49fbe2eee119670872
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane
2019-04-12 17:06:04 +01:00
committed by Eric Fried
parent 97b769ef53
commit dc6fc82c14
39 changed files with 91 additions and 91 deletions

View File

@@ -237,10 +237,10 @@ commands = bandit -r nova -x tests -n 5 -ll
#
# W504 skipped since you must choose either W503 or W504 (they conflict)
#
# W605 and E731 temporarily skipped because of the number of
# E731 temporarily skipped because of the number of
# these that have to be fixed
enable-extensions = H106,H203,H904
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405,W504,W605,E731
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405,W504,E731
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,tools/xenserver*,releasenotes
# To get a list of functions that are more complex than 25, set max-complexity
# to 25 and run 'tox -epep8'.