Suppress MethodLength on api_requestor (#1626)

This commit is contained in:
Michael Broshi 2025-07-22 07:43:37 -07:00 committed by GitHub
parent 749a12b5a8
commit f6fd754a76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,13 +54,13 @@ Metrics/PerceivedComplexity:
- "lib/stripe/util.rb"
Metrics/MethodLength:
# There's ~2 long methods in `APIRequestor` and one in `NestedResource`. If
# we want to truncate those a little, we could move this to be closer to ~30
# (but the default of 10 is probably too short).
# There's one long method in `NestedResource`. If we want to truncate it a little,
# we could move this to be closer to ~30 (but the default of 10 is probably too short).
Max: 55
Exclude:
- "lib/stripe/services/v1_services.rb"
- "lib/stripe/event_types.rb"
- "lib/stripe/api_requestor.rb"
AllowedMethods:
- initialize