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: I34cf8b6358f59583cc178c029ebdd024f583dafe
This commit is contained in:
James Carey 2014-12-11 22:44:45 +00:00
parent deb0152cbc
commit 2aafe6f6ec

View File

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