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: I7b7f96cbece2192432a9b7b6a4355ebf0c868926
This commit is contained in:
James Carey 2014-10-31 20:13:38 +00:00
parent 7b32a91acc
commit b8d5872ef8

View File

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