Skip to content

Conversation

mbroshi-stripe
Copy link
Contributor

@mbroshi-stripe mbroshi-stripe commented Jul 22, 2025

Why?

The file api_requestor.rb has a method specific_v2_api_error that has an autogenerated case statement that will grow arbitrarily long (and it has in dev). The linter won't let me preemptively suppress warnings on that one method, so I need to suppress MethodLength for the entire file.

What?

  • Suppresses the MethodLength linter error for api_requestor.rb

See Also

@mbroshi-stripe mbroshi-stripe requested a review from a team as a code owner July 22, 2025 14:41
@mbroshi-stripe mbroshi-stripe requested review from prathmesh-stripe and helenye-stripe and removed request for a team July 22, 2025 14:41
@mbroshi-stripe mbroshi-stripe merged commit f6fd754 into master Jul 22, 2025
15 checks passed
@mbroshi-stripe mbroshi-stripe deleted the mbroshi/except-method-length branch July 22, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants