mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-04 18:54:53 +00:00
Remove flake noqa exception
This commit is contained in:
parent
56d5e271aa
commit
7e1cb599af
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{% if cookiecutter.cloud_provider == 'AWS' -%}
|
||||
from storages.backends.s3boto3 import S3Boto3Storage # noqa E402
|
||||
from storages.backends.s3boto3 import S3Boto3Storage
|
||||
|
||||
|
||||
class StaticRootS3Boto3Storage(S3Boto3Storage):
|
||||
|
|
@ -11,7 +11,7 @@ class MediaRootS3Boto3Storage(S3Boto3Storage):
|
|||
location = "media"
|
||||
file_overwrite = False
|
||||
{%- elif cookiecutter.cloud_provider == 'GCP' -%}
|
||||
from storages.backends.gcloud import GoogleCloudStorage # noqa E402
|
||||
from storages.backends.gcloud import GoogleCloudStorage
|
||||
|
||||
|
||||
class StaticRootGoogleCloudStorage(GoogleCloudStorage):
|
||||
|
|
|
|||
Loading…
Reference in a new issue