From 057a7d44c835d28b79132f29c66146cbd26a5fa0 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 12:38:25 +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 d504395 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 --- transaction_processing/transaction_processing.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/transaction_processing/transaction_processing.py b/transaction_processing/transaction_processing.py index df41a2cb5..133311667 100644 --- a/transaction_processing/transaction_processing.py +++ b/transaction_processing/transaction_processing.py @@ -1,5 +1,6 @@ import time + class TransactionProcessor: def __init__(self, transaction_validator, transaction_router): self.transaction_validator = transaction_validator @@ -8,11 +9,11 @@ def __init__(self, transaction_validator, transaction_router): def process_transaction(self, transaction): errors = self.transaction_validator.validate_transaction(transaction) if errors: - print('Transaction errors:', errors) + print("Transaction errors:", errors) return False else: channel = self.transaction_router.route_transaction(transaction) - print('Transaction routed to:', channel) + print("Transaction routed to:", channel) time.sleep(1) - print('Transaction processed successfully.') + print("Transaction processed successfully.") return True