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: Ibb45131025bb64feb26d3c2fd596fe2b07c0b889
This commit is contained in:
parent
a6c9df4849
commit
01df1e7a22
1
tox.ini
1
tox.ini
@ -31,5 +31,4 @@ commands = python setup.py build_sphinx
|
|||||||
|
|
||||||
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…
x
Reference in New Issue
Block a user