Overall linting #3

Merged
alexandre merged 13 commits from linting into master 2021-12-06 21:29:02 +01:00
Showing only changes of commit 4f5bcb0d7a - Show all commits

View File

@@ -1,5 +1,6 @@
import os
class Config(object):
SECRET_KEY = os.environ.get("SECRET_KEY")
if SECRET_KEY is None:
@@ -21,11 +22,13 @@ class Config(object):
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SAMESITE = 'None'
class DevelopmentConfig(Config):
TESTING = True
DEBUG = True
DEVELOPMENT = True
class ProductionConfig(Config):
TESTING = False
DEBUG = False