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: I92383d91de5feffbe587c285655e5df36901b687
This commit is contained in:
parent
d4c7e4474d
commit
0ea0ed782a
1
tox.ini
1
tox.ini
@ -29,5 +29,4 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|||||||
|
|
||||||
show-source = True
|
show-source = True
|
||||||
ignore = E123,E125,H803
|
ignore = E123,E125,H803
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user