Merge "Enable hacking-extensions H204, H205"

This commit is contained in:
Zuul 2018-02-09 01:19:56 +00:00 committed by Gerrit Code Review
commit 4955d15c16

View File

@ -127,8 +127,10 @@ exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
import-order-style = pep8
# [H106]: Don't 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.
enable-extensions=H106,H203,H904
enable-extensions=H106,H203,H204,H205,H904
[hacking]
import_exceptions = octavia.i18n