Verified Commit 43d499c4 authored by Dan Jones's avatar Dan Jones
Browse files

lint: run black

parent 6ee319b4
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment