Activate pep8 check that _ is imported

Currently translatable messages are not used, so there are no uses
of _.

This will ensure if _ is used in the future pep8 won't assume
it is provided as a builtin.

Change-Id: Iad8357364ad88961c280096480e8521d873f7c7f
This commit is contained in:
James Carey 2014-12-11 22:51:21 +00:00
parent c4384f88cc
commit 205479f254

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
[hacking]