Remove imported but unused modules
This allows us to enable F401 checks to ensure we're not regressing on this again. Change-Id: Ifd94bbaea72afe53daf9291554b68847e7bd34cf
This commit is contained in:
parent
6dc3126ecf
commit
6584d93491
@ -13,7 +13,6 @@
|
||||
# under the License.
|
||||
|
||||
from django.core import urlresolvers
|
||||
from django.http import HttpResponse
|
||||
from django.utils.translation import ugettext_lazy as _ # noqa
|
||||
|
||||
from horizon import tables
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
import json
|
||||
|
||||
from django.conf import settings
|
||||
from django.core import urlresolvers
|
||||
from django.core.urlresolvers import reverse_lazy
|
||||
from django import template
|
||||
|
@ -17,7 +17,6 @@ from django.conf import global_settings
|
||||
from django.utils.translation import ugettext_lazy as _ # noqa
|
||||
|
||||
from horizon.test.settings import * # noqa
|
||||
from horizon.utils import secret_key as secret_key_utils
|
||||
|
||||
from openstack_dashboard.test.settings import * # noqa
|
||||
|
||||
|
3
tox.ini
3
tox.ini
@ -29,7 +29,6 @@ exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_templ
|
||||
# E127 continuation line over-indented for visual indent
|
||||
# E128 continuation line under-indented for visual indent
|
||||
# E501 line too long
|
||||
# F401 imported but unused
|
||||
# F841 local variable is assigned to but never used
|
||||
# H102 Apache 2.0 license header not found
|
||||
# H238 old style class declaration, use new style
|
||||
@ -40,4 +39,4 @@ exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_templ
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
# H803 git commit title should not end with period (disabled on purpose, see bug #1236621)
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
ignore = E127,E128,E501,F401,F841,H102,H238,H301,H305,H306,H307,H405,H803,H904
|
||||
ignore = E127,E128,E501,F841,H102,H238,H301,H305,H306,H307,H405,H803,H904
|
||||
|
Loading…
Reference in New Issue
Block a user