diff --git a/Library/Homebrew/.rubocop.yml b/Library/Homebrew/.rubocop.yml index f9590b7800..07b613ecb3 100644 --- a/Library/Homebrew/.rubocop.yml +++ b/Library/Homebrew/.rubocop.yml @@ -16,7 +16,7 @@ Lint/NestedMethodDefinition: Metrics/AbcSize: Max: 280 Metrics/BlockLength: - Max: 111 + Max: 106 Exclude: # TODO: extract more of the bottling logic - "dev-cmd/bottle.rb" diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 6844ef124b..18f8034488 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -20,6 +20,7 @@ module Homebrew module_function + # rubocop:disable Metrics/BlockLength sig { returns(CLI::Parser) } def install_args Homebrew::CLI::Parser.new do @@ -141,6 +142,7 @@ module Homebrew named_args [:formula, :cask], min: 1 end end + # rubocop:enable Metrics/BlockLength def install args = install_args.parse