Allow import more than one func from i18n

According to OpenStack guidelines[1], importing more than
one module per line is allowed if it's function from i18n module.

[1]  http://docs.openstack.org/developer/hacking/#imports

Change-Id: I10e90e8f6a4a3f9c161bbaffb030d3fbc9f8499b
This commit is contained in:
Anton Arefiev
2016-11-24 18:00:31 +02:00
parent 2c09c782d8
commit 42f5cfd18a

View File

@@ -56,4 +56,4 @@ exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools
enable-extensions=H106,H203,H904
[hacking]
import_exceptions = testtools.matchers
import_exceptions = testtools.matchers, ironicclient.common.i18n