Delete import_exceptions from tox.ini
Current hacking check actually does not check attribute-level imports. We can safely drop import_exceptions from tox.ini. Change-Id: I65e36b9661fbcb39bd37d1024a7e0973c3edc416
This commit is contained in:
parent
f892bbfa95
commit
0ab9d0692f
19
tox.ini
19
tox.ini
@ -64,22 +64,3 @@ commands =
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude=build,.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,horizon,settings.py,*/local/*
|
||||
|
||||
[hacking]
|
||||
import_exceptions = collections.defaultdict,
|
||||
collections.OrderedDict,
|
||||
django.conf.settings,
|
||||
django.contrib.staticfiles.templatetags.staticfiles.static,
|
||||
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.encoding.smart_text,
|
||||
django.utils.html.escape,
|
||||
django.utils.http.urlencode,
|
||||
django.utils.safestring.mark_safe,
|
||||
django.utils.translation.pgettext_lazy,
|
||||
django.utils.translation.ugettext_lazy,
|
||||
django.utils.translation.ungettext_lazy,
|
||||
operator.attrgetter
|
||||
|
Loading…
Reference in New Issue
Block a user