Merge pull request #16577 from apainintheneck/exclude-more-tap-files-from-top-level-method-cop

rubocop: exclude more tap files from the top-level method cop
This commit is contained in:
Kevin 2024-02-03 16:59:29 -08:00 committed by GitHub
commit 34882f51a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -374,7 +374,7 @@ Style/NumericLiterals:
Style/OpenStructUse:
Exclude:
- "Taps/**/*.rb"
- "Taps/**/*"
# TODO: This is a pre-existing violation and should be corrected
# to define methods so that call sites can be type-checked.
- "Homebrew/cli/args.rb"
@ -427,7 +427,7 @@ Style/TernaryParentheses:
Style/TopLevelMethodDefinition:
Enabled: true
Exclude:
- "Taps/**/*.rb"
- "Taps/**/*"
# Trailing commas make diffs nicer.
Style/TrailingCommaInArguments: