1

add flake8 for python

This commit is contained in:
2024-01-15 09:09:39 +02:00
parent 94626bb28b
commit 7db77e5b24
8 changed files with 39 additions and 19 deletions

View File

@@ -34,8 +34,8 @@ if not environ.get("E11SYNC_DEBUG_PRINTED"):
print("DATABASE_PATH={}".format(_DATABASE_PATH))
environ["E11SYNC_DEBUG_PRINTED"] = "1"
########################################
## No more side effects after this place
#######################################
# No more side effects after this place
SECRET_KEY = _SECRET_KEY
@@ -50,7 +50,7 @@ INTERNAL_IPS = ["127.0.0.1"]
INSTALLED_APPS = (['debug_toolbar'] if DEBUG else []) + [
'compressor',
'signup.apps.SignupConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',

View File

@@ -22,6 +22,7 @@ from django.conf import settings
urlpatterns = [
path('admin/', admin.site.urls),
] + [
path("__debug__/", include("debug_toolbar.urls"))] if settings.DEBUG else [] + [
path("__debug__/", include("debug_toolbar.urls"))
] if settings.DEBUG else [] + [
path('', include('signup.urls')),
]