reformat code with black

This commit is contained in:
Martin
2019-10-30 13:44:04 +01:00
parent 354e959cc5
commit 0dd8d619b4
28 changed files with 1236 additions and 689 deletions
+3 -7
View File
@@ -1,19 +1,15 @@
from flask import Blueprint, jsonify, url_for
mod = Blueprint('server', __name__)
mod = Blueprint("server", __name__)
@mod.route("/", methods=["GET"])
def status():
data = {
'version': '0.0.1'
}
data = {"version": "0.0.1"}
return jsonify(data)
@mod.route("/health", methods=["GET"])
def health():
data = {
'status': 'ok'
}
data = {"status": "ok"}
return jsonify(data)