Enforce H301 check

Removed H301 from excluded checks and added i18n integration
module to hacking import_exceptions list according to [1].

[1] http://docs.openstack.org/developer/oslo.i18n/usage.html

Change-Id: I7bf16a8cf317115d1d5f59c30db9d021ea0ad9b1
This commit is contained in:
Elena Ezhova 2015-06-24 16:07:49 +03:00
parent 9f732eb9f0
commit f544d9b3f9
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,H301,H405
ignore = E123,E125,H405
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
[hacking]
import_exceptions =
import_exceptions = oslo_service._i18n