pep8: Enable H106, H203, H904

Copy and paste from Neutron.

Closes-Bug: #1702908
Change-Id: I7d092702e9c7212016741019019fe296cc1a69e9
This commit is contained in:
YAMAMOTO Takashi 2017-07-08 01:45:54 +09:00
parent 95e91f34f3
commit dfa1e4dda2
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
# TODO(dougwig) -- uncomment this to test for remaining linkages
# N530 direct neutron imports not allowed
ignore = N530
# H106: Don't put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
# H904: Delay string interpolations at logging calls
enable-extensions=H106,H203,H904
show-source = true
exclude = ./.*,build,dist,rally-jobs/plugins
import-order-style = pep8