From 8243f3b4813363c25ec698d19d29028a672be2f1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 20:47:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- payments/cybersource/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/payments/cybersource/__init__.py b/payments/cybersource/__init__.py index 8f7c4e114..32644b247 100644 --- a/payments/cybersource/__init__.py +++ b/payments/cybersource/__init__.py @@ -245,9 +245,7 @@ def _get_error_message(self, code): "There are insufficient funds on your card or it has reached its credit limit." # noqa: E501 ) if code == 205: - return _( - "The card you are trying to use was reported as lost or stolen." # noqa: E501 - ) + return _("The card you are trying to use was reported as lost or stolen.") if code == 208: return _( "Your card is either inactive or it does not permit online payments. Please contact your bank to resolve this issue." # noqa: E501 @@ -262,7 +260,7 @@ def _get_error_message(self, code): ) if code in [232, 240]: return _( - "We are sorry but our bank cannot handle the card type you are using." # noqa: E501 + "We are sorry but our bank cannot handle the card type you are using." ) if code in [450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461]: return _(