From 14321f7e9cbbc182bf6fd49f8c10b0d4d7ba2b8d Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 06:52:31 +0000 Subject: [PATCH] style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf This commit fixes the style issues introduced in 70f7f60 according to the output from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf. Details: None --- web/errors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/errors.py b/web/errors.py index abdc92b..bc71aa3 100644 --- a/web/errors.py +++ b/web/errors.py @@ -1,6 +1,7 @@ # web/errors.py from flask import jsonify + @app.errorhandler(404) def not_found(error): - return jsonify({'error': 'Not found'}), 404 + return jsonify({"error": "Not found"}), 404