From 676d5a2bad4416fff1e27af5cd2d96ff9c337511 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Fri, 17 Mar 2017 18:48:15 +0000 Subject: [PATCH] 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 --- tox.ini | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/tox.ini b/tox.ini index 20421747e8..51fc3ac2e1 100644 --- a/tox.ini +++ b/tox.ini @@ -127,24 +127,3 @@ max-complexity = 20 [hacking] 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