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: I077b9b2060e618823ef6dd6f95ce9fe7dcc52a06
This commit is contained in:
parent
c7211d125c
commit
6f76039fa2
1
tox.ini
1
tox.ini
@ -43,7 +43,6 @@ setenv = TRANSPORT_URL=rabbit://guest:guest@localhost
|
|||||||
show-source = True
|
show-source = True
|
||||||
ignore = H237,H402,H405,H904
|
ignore = H237,H402,H405,H904
|
||||||
exclude = .tox,dist,doc,*.egg,build,__init__.py
|
exclude = .tox,dist,doc,*.egg,build,__init__.py
|
||||||
builtins = _
|
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions =
|
import_exceptions =
|
||||||
|
Loading…
Reference in New Issue
Block a user