Move Metrics/Blocklength disable to rubocop.yml
This commit is contained in:
parent
07e299760a
commit
d35f2e76a7
@ -21,6 +21,7 @@ Metrics/BlockLength:
|
||||
# TODO: extract more of the bottling logic
|
||||
- "dev-cmd/bottle.rb"
|
||||
- "test/**/*"
|
||||
- "cmd/install.rb"
|
||||
Metrics/BlockNesting:
|
||||
Max: 5
|
||||
Metrics/ClassLength:
|
||||
|
@ -20,7 +20,6 @@ module Homebrew
|
||||
|
||||
module_function
|
||||
|
||||
# rubocop:disable Metrics/BlockLength
|
||||
sig { returns(CLI::Parser) }
|
||||
def install_args
|
||||
Homebrew::CLI::Parser.new do
|
||||
@ -142,7 +141,6 @@ module Homebrew
|
||||
named_args [:formula, :cask], min: 1
|
||||
end
|
||||
end
|
||||
# rubocop:enable Metrics/BlockLength
|
||||
|
||||
def install
|
||||
args = install_args.parse
|
||||
|
Loading…
x
Reference in New Issue
Block a user