From eac63e9de2e16ffc655b47eb0aeeed6b85670cd7 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 2 Jun 2024 07:42:13 +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 8f0a65c 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/amazon_pay.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/blockchain_integration/pi_network/payment_gateways/amazon_pay.py b/blockchain_integration/pi_network/payment_gateways/amazon_pay.py index 83386265a..f41e51159 100644 --- a/blockchain_integration/pi_network/payment_gateways/amazon_pay.py +++ b/blockchain_integration/pi_network/payment_gateways/amazon_pay.py @@ -1,5 +1,6 @@ import amazon_pay + class AmazonPayPaymentGateway: def __init__(self, seller_id, client_id, client_secret): self.seller_id = seller_id @@ -8,8 +9,5 @@ def __init__(self, seller_id, client_id, client_secret): amazon_pay.Configuration.configure(seller_id, client_id, client_secret) def create_payment(self, amount, currency): - payment = amazon_pay.Payment.create({ - 'amount': amount, - 'currency': currency - }) + payment = amazon_pay.Payment.create({"amount": amount, "currency": currency}) return payment