Merge "Enable hacking-extensions H204, H205"

This commit is contained in:
Zuul 2018-02-01 15:34:54 +00:00 committed by Gerrit Code Review
commit eab3694111
1 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,9 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
# [H904] Delay string interpolations at logging calls
# [H106] Dont put vim configuration in source files
# [H203] Use assertIs(Not)None to check for None.
enable-extensions=H904,H106,H203
# [H204] Use assert(Not)Equal to check for equality
# [H205] Use assert(Greater|Less)(Equal) for comparison
enable-extensions=H904,H106,H203,H204,H205
[hacking]
import_exceptions = sahara.i18n