mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-28 09:59:59 -04:00
isort and flake8
This commit is contained in:
@@ -151,7 +151,7 @@
|
||||
"filename": "app/config.py",
|
||||
"hashed_secret": "577a4c667e4af8682ca431857214b3a920883efc",
|
||||
"is_verified": false,
|
||||
"line_number": 121,
|
||||
"line_number": 120,
|
||||
"is_secret": false
|
||||
}
|
||||
],
|
||||
@@ -674,5 +674,5 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"generated_at": "2025-04-10T19:35:01Z"
|
||||
"generated_at": "2025-04-10T19:38:31Z"
|
||||
}
|
||||
|
||||
@@ -174,7 +174,7 @@ def _csp(config):
|
||||
def create_app(application):
|
||||
@application.context_processor
|
||||
def inject_feature_flags():
|
||||
# this is where feature flags can be easily added as a dictionary within context
|
||||
# this is where feature flags can be easily added as a dictionary within context
|
||||
feature_socket_enabled = application.config.get(
|
||||
"FEATURE_SOCKET_ENABLED", False
|
||||
)
|
||||
|
||||
@@ -88,7 +88,6 @@ class Config(object):
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
FEATURE_SOCKET_ENABLED = getenv("FEATURE_SOCKET_ENABLED", "false") == "true"
|
||||
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ from functools import partial
|
||||
|
||||
from flask import (
|
||||
Response,
|
||||
current_app,
|
||||
abort,
|
||||
current_app,
|
||||
jsonify,
|
||||
redirect,
|
||||
render_template,
|
||||
|
||||
Reference in New Issue
Block a user