Merge "Remove imported but unused modules"

This commit is contained in:
Jenkins 2016-12-14 06:15:39 +00:00 committed by Gerrit Code Review
commit 2c9ce86be8
4 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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