Add some imports to hacking import_exceptions
To avoid H302 check, add most common imports to import_exceptions. from heat.common.i18n import _ from heat.common.i18n import _LE from heat.common.i18n import _LI from heat.common.i18n import _LW Change-Id: I4e4d1462d4c351e08a09d935a5a177c1d8954e06
This commit is contained in:
parent
53834a0195
commit
092d400098
3
tox.ini
3
tox.ini
|
@ -55,3 +55,6 @@ exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,tools,build
|
||||||
# 28 is currently the most complex thing we have
|
# 28 is currently the most complex thing we have
|
||||||
# TODO(asalkeld): get this number down to 20
|
# TODO(asalkeld): get this number down to 20
|
||||||
max-complexity=29
|
max-complexity=29
|
||||||
|
|
||||||
|
[hacking]
|
||||||
|
import_exceptions = heat.common.i18n
|
||||||
|
|
Loading…
Reference in New Issue