mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-29 00:01:18 -05:00
Suppress MethodLength on api_requestor (#1626)
This commit is contained in:
parent
749a12b5a8
commit
f6fd754a76
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user