From 31ca1960c061cb603dca959986898cb244b52779 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 15 Jul 2013 13:45:08 -0400 Subject: [PATCH] Fixed F403 --- storyboard/about/urls.py | 2 +- storyboard/projects/urls.py | 2 +- storyboard/settings.py | 2 +- storyboard/stories/urls.py | 2 +- storyboard/urls.py | 4 +++- tox.ini | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/storyboard/about/urls.py b/storyboard/about/urls.py index 6b3a77c5..ea7c2f75 100644 --- a/storyboard/about/urls.py +++ b/storyboard/about/urls.py @@ -13,7 +13,7 @@ # License for the specific language governing permissions and limitations # under the License. -from django.conf.urls.defaults import * +from django.conf.urls.defaults import patterns urlpatterns = patterns('storyboard.about.views', diff --git a/storyboard/projects/urls.py b/storyboard/projects/urls.py index 7c9f2462..db72bfea 100644 --- a/storyboard/projects/urls.py +++ b/storyboard/projects/urls.py @@ -13,7 +13,7 @@ # License for the specific language governing permissions and limitations # under the License. -from django.conf.urls.defaults import * +from django.conf.urls.defaults import patterns urlpatterns = patterns('storyboard.projects.views', diff --git a/storyboard/settings.py b/storyboard/settings.py index 8b01475e..ad5a6770 100644 --- a/storyboard/settings.py +++ b/storyboard/settings.py @@ -194,6 +194,6 @@ LOGGING = { # Override settings with local ones. try: - from storyboard.local_settings import * + from storyboard.local_settings import * # noqa except ImportError: pass diff --git a/storyboard/stories/urls.py b/storyboard/stories/urls.py index 59d51279..efd7154c 100644 --- a/storyboard/stories/urls.py +++ b/storyboard/stories/urls.py @@ -13,7 +13,7 @@ # License for the specific language governing permissions and limitations # under the License. -from django.conf.urls.defaults import * +from django.conf.urls.defaults import patterns urlpatterns = patterns('storyboard.stories.views', diff --git a/storyboard/urls.py b/storyboard/urls.py index 1afd44c4..008ec61c 100644 --- a/storyboard/urls.py +++ b/storyboard/urls.py @@ -13,7 +13,9 @@ # License for the specific language governing permissions and limitations # under the License. -from django.conf.urls.defaults import * +from django.conf.urls.defaults import include +from django.conf.urls.defaults import patterns +from django.conf.urls.defaults import url from django.contrib import admin diff --git a/tox.ini b/tox.ini index 01cecc11..a19ec2eb 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}' downloadcache = ~/cache/pip [flake8] -ignore = E125,E128,H,F403 +ignore = E125,E128,H show-source = True exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build