Commit 35eeaba7 by Timothée Peignier

add nova filter for flake8

parent 13681478
try:
from staticfiles.finders import DefaultStorageFinder
except ImportError:
from django.contrib.staticfiles.storage import DefaultStorageFinder
from django.contrib.staticfiles.storage import DefaultStorageFinder # noqa
from django.conf import settings
......
......@@ -4,8 +4,8 @@ try:
from staticfiles import finders
from staticfiles.storage import CachedFilesMixin, StaticFilesStorage
except ImportError:
from django.contrib.staticfiles import finders
from django.contrib.staticfiles.storage import CachedFilesMixin, StaticFilesStorage
from django.contrib.staticfiles import finders # noqa
from django.contrib.staticfiles.storage import CachedFilesMixin, StaticFilesStorage # noqa
from django.core.exceptions import ImproperlyConfigured
from django.core.files.storage import get_storage_class
......
try:
from staticfiles.storage import staticfiles_storage
except ImportError:
from django.contrib.staticfiles.storage import staticfiles_storage
from django.contrib.staticfiles.storage import staticfiles_storage # noqa
from django import template
from django.template.loader import render_to_string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment