From a803dbb31db433c02ba19ce90444a96a0b3478f9 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 09:46:34 +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 f607b8a 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 --- api/routes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/routes.py b/api/routes.py index cb154d3a6..701dda8be 100644 --- a/api/routes.py +++ b/api/routes.py @@ -3,7 +3,8 @@ app = FastAPI() + @app.post("/transactions") async def create_transaction(transaction: Transaction): """Create a new transaction""" - #... + # ...