pep8: Enable H106, H203, H904
Copy and paste from Neutron. Closes-Bug: #1702908 Change-Id: I7d092702e9c7212016741019019fe296cc1a69e9
This commit is contained in:
parent
95e91f34f3
commit
dfa1e4dda2
4
tox.ini
4
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue