From 7eb7cdf886c743183825329eaaada642e9ae8dfe Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 2 Jun 2024 08:10:17 +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 3947b44 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 --- .../pi_network/payment_gateways/westpac.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/blockchain_integration/pi_network/payment_gateways/westpac.py b/blockchain_integration/pi_network/payment_gateways/westpac.py index c4587a02d..065233743 100644 --- a/blockchain_integration/pi_network/payment_gateways/westpac.py +++ b/blockchain_integration/pi_network/payment_gateways/westpac.py @@ -1,5 +1,6 @@ import westpac + class WestpacPaymentGateway: def __init__(self, api_key, api_secret): self.api_key = api_key @@ -7,8 +8,5 @@ def __init__(self, api_key, api_secret): westpac.Configuration.configure(api_key, api_secret) def create_payment(self, amount, currency): - payment = westpac.Payment.create({ - 'amount': amount, - 'currency': currency - }) + payment = westpac.Payment.create({"amount": amount, "currency": currency}) return payment