From 43d499c41df52d84f112c6a46e22fa9929c561f6 Mon Sep 17 00:00:00 2001 From: Dan Jones <danjon@noc.ac.uk> Date: Thu, 22 Aug 2024 11:54:13 +0100 Subject: [PATCH] lint: run black --- generate_schema_config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generate_schema_config.py b/generate_schema_config.py index 3c2a6b3..3292a00 100644 --- a/generate_schema_config.py +++ b/generate_schema_config.py @@ -113,9 +113,9 @@ swagger_config = { def configure_flask(swagger_config): """ - Setup a flask app, load flasgger + Setup a flask app, load flasgger - and then patch to remove invalid + and then patch to remove invalid definitions:{} object """ app = Flask(__name__) @@ -134,8 +134,8 @@ def configure_flask(swagger_config): @app.after_request def after_request_decorator(response): """ - I didn't want to mess with flasgger so - this blunt workaround that runs on every + I didn't want to mess with flasgger so + this blunt workaround that runs on every route and then checks whether it's required """ is_response = type(response).__name__ == "Response" -- GitLab