hacking: Drop import_exceptions from tox.ini

Current hacking check actually does not check attribute-level
imports. We can safely drop import_exceptions from tox.ini.

noqa cleanup will be coming in subsequent patches.

Change-Id: Iee3e9cbf80b272cb71e658671913f8242f96f7e6
This commit is contained in:
Akihiro Motoki 2017-03-17 18:48:15 +00:00
parent c0cb55046e
commit 676d5a2bad

21
tox.ini
View File

@ -127,24 +127,3 @@ max-complexity = 20
[hacking] [hacking]
local-check-factory = horizon.hacking.checks.factory local-check-factory = horizon.hacking.checks.factory
import_exceptions = collections.defaultdict,
collections.OrderedDict,
django.conf.settings,
django.conf.urls.include,
django.conf.urls.patterns,
django.conf.urls.url,
django.core.urlresolvers.reverse,
django.core.urlresolvers.reverse_lazy,
django.template.loader.render_to_string,
django.test.utils.override_settings,
django.utils.encoding.force_text,
django.utils.html.conditional_escape,
django.utils.html.escape,
django.utils.http.urlencode,
django.utils.safestring.mark_safe,
django.utils.translation.npgettext_lazy,
django.utils.translation.pgettext_lazy,
django.utils.translation.ugettext_lazy,
django.utils.translation.ungettext_lazy,
operator.attrgetter,
StringIO.StringIO