Activate pep8 check that _ is imported

Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.

This helps ensure that the _ from i18n is used.

Activating this check did not flag any violations.

Change-Id: I561e0dcf994768d5c7f7d88f595ebdf0c8dd118a
This commit is contained in:
James Carey 2014-10-31 20:18:33 +00:00
parent 3583c89512
commit 2fe3f73062

View File

@ -34,7 +34,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
show-source = True
ignore = E123,E125,H803
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,__init__.py
[hacking]