Skip to content

Commit cea228d

Browse files
committed
Respect Y053
1 parent cfdd458 commit cea228d

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed

stubs/braintree/braintree/test/authentication_ids.pyi

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,14 @@ class AuthenticationIds:
55
ThreeDSecureVisaLookupTimeout: Final = "fake-three-d-secure-visa-lookup-timeout-id"
66
ThreeDSecureVisaFailedSignature: Final = "fake-three-d-secure-visa-failed-signature-id"
77
ThreeDSecureVisaFailedAuthentication: Final = "fake-three-d-secure-visa-failed-authentication-id"
8-
ThreeDSecureVisaAttemptsNonParticipating: Final = "fake-three-d-secure-visa-attempts-non-participating-id" # noqa: Y053
8+
ThreeDSecureVisaAttemptsNonParticipating: Final[str]
99
ThreeDSecureVisaNoteEnrolled: Final = "fake-three-d-secure-visa-not-enrolled-id"
1010
ThreeDSecureVisaUnavailable: Final = "fake-three-d-secure-visa-unavailable-id"
1111
ThreeDSecureVisaMPILookupError: Final = "fake-three-d-secure-visa-mpi-lookup-error-id"
1212
ThreeDSecureVisaMPIAuthenticateError: Final = "fake-three-d-secure-visa-mpi-authenticate-error-id"
13-
ThreeDSecureVisaAuthenticationUnavailable: Final = "fake-three-d-secure-visa-authentication-unavailable-id" # noqa: Y053
14-
ThreeDSecureVisaBypassedAuthentication: Final = "fake-three-d-secure-visa-bypassed-authentication-id" # noqa: Y053
15-
ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: Final = (
16-
"fake-three-d-secure-two-visa-successful-frictionless-authentication-id" # noqa: Y053
17-
)
18-
ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: Final = (
19-
"fake-three-d-secure-two-visa-successful-step-up-authentication-id" # noqa: Y053
20-
)
13+
ThreeDSecureVisaAuthenticationUnavailable: Final[str]
14+
ThreeDSecureVisaBypassedAuthentication: Final[str]
15+
ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: Final[str]
16+
ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: Final[str]
2117
ThreeDSecureTwoVisaErrorOnLookup: Final = "fake-three-d-secure-two-visa-error-on-lookup-id"
2218
ThreeDSecureTwoVisaTimeoutOnLookup: Final = "fake-three-d-secure-two-visa-timeout-on-lookup-id"

stubs/braintree/braintree/test/nonces.pyi

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,17 @@ class Nonces:
4040
SamsungPayVisa: Final = "tokensam_fake_visa"
4141
SepaDirectDebit: Final = "fake-sepa-direct-debit-nonce"
4242
ThreeDSecureTwoVisaErrorOnLookup: Final = "fake-three-d-secure-two-visa-error-on-lookup-nonce"
43-
ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: Final = (
44-
"fake-three-d-secure-two-visa-successful-frictionless-authentication-nonce" # noqa: Y053
45-
)
46-
ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: Final = (
47-
"fake-three-d-secure-two-visa-successful-step-up-authentication-nonce" # noqa: Y053
48-
)
49-
ThreeDSecureTwoVisaTimeoutOnLookup: Final = "fake-three-d-secure-two-visa-timeout-on-lookup-nonce" # noqa: Y053
50-
ThreeDSecureVisaAttemptsNonParticipating: Final = "fake-three-d-secure-visa-attempts-non-participating-nonce" # noqa: Y053
51-
ThreeDSecureVisaAuthenticationUnavailable: Final = "fake-three-d-secure-visa-authentication-unavailable-nonce" # noqa: Y053
52-
ThreeDSecureVisaBypassedAuthentication: Final = "fake-three-d-secure-visa-bypassed-authentication-nonce" # noqa: Y053
53-
ThreeDSecureVisaFailedAuthentication: Final = "fake-three-d-secure-visa-failed-authentication-nonce" # noqa: Y053
43+
ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: Final[str]
44+
ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: Final[str]
45+
ThreeDSecureTwoVisaTimeoutOnLookup: Final[str]
46+
ThreeDSecureVisaAttemptsNonParticipating: Final[str]
47+
ThreeDSecureVisaAuthenticationUnavailable: Final[str]
48+
ThreeDSecureVisaBypassedAuthentication: Final[str]
49+
ThreeDSecureVisaFailedAuthentication: Final[str]
5450
ThreeDSecureVisaFailedSignature: Final = "fake-three-d-secure-visa-failed-signature-nonce"
5551
ThreeDSecureVisaFullAuthentication: Final = "fake-three-d-secure-visa-full-authentication-nonce"
5652
ThreeDSecureVisaLookupTimeout: Final = "fake-three-d-secure-visa-lookup-timeout-nonce"
57-
ThreeDSecureVisaMPIAuthenticateError: Final = "fake-three-d-secure-visa-mpi-authenticate-error-nonce" # noqa: Y053
53+
ThreeDSecureVisaMPIAuthenticateError: Final[str]
5854
ThreeDSecureVisaMPILookupError: Final = "fake-three-d-secure-visa-mpi-lookup-error-nonce"
5955
ThreeDSecureVisaNoteEnrolled: Final = "fake-three-d-secure-visa-not-enrolled-nonce"
6056
ThreeDSecureVisaUnavailable: Final = "fake-three-d-secure-visa-unavailable-nonce"

0 commit comments

Comments
 (0)