Enable more extensions in pep8
This patch enable extensions: -[H204] Use assert(Not)Equal to check for equality. -[H205] Use assert(Greater|Less)(Equal) for comparison. Change-Id: I04b06851e13dd34c63040b648dff576f68a7abec
This commit is contained in:
parent
80b4f18e1e
commit
5703d0c775
4
tox.ini
4
tox.ini
@ -141,7 +141,9 @@ commands = bindep test
|
||||
ignore = F821,H201,H302,H405
|
||||
# H106: Don’t put vim configuration in source files
|
||||
# H203: Use assertIs(Not)None to check for None
|
||||
enable-extensions=H106,H203
|
||||
# H204: Use assert(Not)Equal to check for equality.
|
||||
# H205: Use assert(Greater|Less)(Equal) for comparison.
|
||||
enable-extensions=H106,H203,H204,H205
|
||||
max-complexity = 50
|
||||
max-line-length = 120
|
||||
builtins = _
|
||||
|
Loading…
x
Reference in New Issue
Block a user