Fix bandit and flake8 errors

This commit is contained in:
Johannes Hoppe 2019-03-26 08:16:18 +01:00
parent b754256413
commit ec8a8e7df4
4 changed files with 4 additions and 3 deletions

2
.bandit Normal file
View file

@ -0,0 +1,2 @@
[bandit]
exclude: tests

View file

@ -84,7 +84,6 @@ class Base(Configuration):
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
# Make this unique, and don't share it with anybody.

View file

@ -1,4 +1,4 @@
from django.conf.urls import patterns, include, url
from django.conf.urls import patterns
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin

View file

@ -20,7 +20,7 @@ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_project.settings")
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
from django.core.wsgi import get_wsgi_application
from django.core.wsgi import get_wsgi_application # noqa
application = get_wsgi_application()
# Apply WSGI middleware here.