Enable hacking-extensions H204, H205
This patch enable extensions: -[H204] Use assert(Not)Equal to check for equality. -[H205] Use assert(Greater|Less)(Equal) for comparison. Change-Id: I375c61e09a76e8b195b19c962b1c561fcbe5ffb0
This commit is contained in:
parent
4bc4fa5af1
commit
b120784f7f
4
tox.ini
4
tox.ini
|
@ -98,10 +98,12 @@ ignore-path = .venv,.git,.tox,.tmp,*neutron_fwaas/locale*,*lib/python*,neutron_f
|
|||
# TODO(ihrachys) -- reenable N537 when new neutron-lib release is available
|
||||
# H106: Do not put vim configuration in source files
|
||||
# H203: Use assertIs(Not)None to check for None
|
||||
# H204: Use assert(Not)Equal to check for equality
|
||||
# H205: Use assert(Greater|Less)(Equal) for comparison
|
||||
# H904: Delay string interpolations at logging calls
|
||||
# N521: jsonutils.loads must be used instead of json.loads
|
||||
ignore = E125,E126,E128,E129,E265,H404,H405,N530,N521
|
||||
enable-extensions=H106,H203,H904
|
||||
enable-extensions=H106,H203,H204,H205,H904
|
||||
show-source = true
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,.tmp,*egg,build,tools,.ropeproject,rally-scenarios
|
||||
import-order-style = pep8
|
||||
|
|
Loading…
Reference in New Issue