brew/Library/.rubocop_todo.yml
2016-09-23 15:30:07 +02:00

261 lines
7.1 KiB
YAML

# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 100`
# on 2016-09-22 20:07:41 +0200 using RuboCop version 0.43.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 18
Lint/HandleExceptions:
Exclude:
- 'Homebrew/cmd/install.rb'
- 'Homebrew/cmd/reinstall.rb'
- 'Homebrew/cmd/tap.rb'
- 'Homebrew/cmd/update-report.rb'
- 'Homebrew/cmd/upgrade.rb'
- 'Homebrew/cmd/uses.rb'
- 'Homebrew/descriptions.rb'
- 'Homebrew/dev-cmd/test-bot.rb'
- 'Homebrew/diagnostic.rb'
- 'Homebrew/extend/ENV/super.rb'
- 'Homebrew/extend/pathname.rb'
- 'Homebrew/formula.rb'
- 'Homebrew/formula_versions.rb'
- 'Homebrew/test/test_ENV.rb'
# Offense count: 3
Lint/IneffectiveAccessModifier:
Exclude:
- 'Homebrew/formula.rb'
- 'Homebrew/version.rb'
# Offense count: 1
Lint/Loop:
Exclude:
- 'Homebrew/patch.rb'
# Offense count: 6
Lint/NestedMethodDefinition:
Exclude:
- 'Homebrew/test/**/*'
- 'Homebrew/dev-cmd/bottle.rb'
- 'Homebrew/dev-cmd/test-bot.rb'
# Offense count: 28
Lint/RescueException:
Exclude:
- 'Homebrew/brew.rb'
- 'Homebrew/build.rb'
- 'Homebrew/cmd/fetch.rb'
- 'Homebrew/cmd/reinstall.rb'
- 'Homebrew/cmd/update-report.rb'
- 'Homebrew/debrew.rb'
- 'Homebrew/dev-cmd/pull.rb'
- 'Homebrew/dev-cmd/test.rb'
- 'Homebrew/formula.rb'
- 'Homebrew/formula_installer.rb'
- 'Homebrew/migrator.rb'
- 'Homebrew/postinstall.rb'
- 'Homebrew/readall.rb'
- 'Homebrew/test.rb'
- 'Homebrew/test/test_ENV.rb'
- 'Homebrew/utils/fork.rb'
# Offense count: 1
Lint/ShadowedException:
Exclude:
- 'Homebrew/utils/fork.rb'
# Offense count: 18
Metrics/BlockNesting:
Max: 5
# Offense count: 20
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 370
# Offense count: 2
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6
# Offense count: 8
Style/AccessorMethodName:
Exclude:
- 'Homebrew/download_strategy.rb'
- 'Homebrew/extend/ENV/std.rb'
- 'Homebrew/formula.rb'
- 'Homebrew/formula_lock.rb'
- 'Homebrew/formulary.rb'
- 'Homebrew/migrator.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: prefer_alias, prefer_alias_method
Style/Alias:
Exclude:
- 'Homebrew/blacklist.rb'
# Offense count: 1
Style/CaseEquality:
Exclude:
- 'Homebrew/compilers.rb'
# Offense count: 11
Style/ClassVars:
Exclude:
- 'Homebrew/cleanup.rb'
- 'Homebrew/dev-cmd/audit.rb'
- 'Homebrew/dev-cmd/test-bot.rb'
- 'Homebrew/formula_installer.rb'
- 'Homebrew/test/testing_env.rb'
- 'Homebrew/utils.rb'
# Offense count: 1
Style/ConstantName:
Exclude:
- 'Homebrew/os/mac.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: format, sprintf, percent
Style/FormatString:
Exclude:
- 'Homebrew/formula.rb'
# Offense count: 13
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'Homebrew/diagnostic.rb'
- 'Homebrew/utils.rb'
# Offense count: 70
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'Taps/**/*'
- 'Homebrew/cmd/update-report.rb'
- 'Homebrew/dependency_collector.rb'
- 'Homebrew/dev-cmd/audit.rb'
- 'Homebrew/dev-cmd/pull.rb'
- 'Homebrew/dev-cmd/test-bot.rb'
- 'Homebrew/download_strategy.rb'
- 'Homebrew/extend/ARGV.rb'
- 'Homebrew/extend/ENV/shared.rb'
- 'Homebrew/extend/ENV/std.rb'
- 'Homebrew/extend/ENV/super.rb'
- 'Homebrew/extend/fileutils.rb'
- 'Homebrew/extend/os/mac/extend/ENV/std.rb'
- 'Homebrew/extend/os/mac/formula_cellar_checks.rb'
- 'Homebrew/extend/os/mac/utils/bottles.rb'
- 'Homebrew/extend/string.rb'
- 'Homebrew/formula.rb'
- 'Homebrew/formula_installer.rb'
- 'Homebrew/formula_lock.rb'
- 'Homebrew/formulary.rb'
- 'Homebrew/keg.rb'
- 'Homebrew/migrator.rb'
- 'Homebrew/os/mac/xcode.rb'
- 'Homebrew/patch.rb'
- 'Homebrew/requirement.rb'
- 'Homebrew/tap.rb'
- 'Homebrew/test/test_cmd_testbot.rb'
- 'Homebrew/test/test_integration_cmds.rb'
- 'Homebrew/test/testing_env.rb'
- 'Homebrew/utils.rb'
- 'Homebrew/utils/popen.rb'
- 'Homebrew/version.rb'
# Offense count: 51
# Cop supports --auto-correct.
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
Exclude:
- 'Taps/**/*'
- 'Homebrew/dev-cmd/audit.rb'
- 'Homebrew/dev-cmd/bottle.rb'
- 'Homebrew/dev-cmd/edit.rb'
- 'Homebrew/dev-cmd/mirror.rb'
- 'Homebrew/dev-cmd/pull.rb'
- 'Homebrew/dev-cmd/test-bot.rb'
- 'Homebrew/extend/ENV/std.rb'
- 'Homebrew/extend/ENV/super.rb'
- 'Homebrew/extend/os/blacklist.rb'
- 'Homebrew/extend/os/bottles.rb'
- 'Homebrew/extend/os/cleaner.rb'
- 'Homebrew/extend/os/development_tools.rb'
- 'Homebrew/extend/os/diagnostic.rb'
- 'Homebrew/extend/os/emoji.rb'
- 'Homebrew/extend/os/extend/ENV/shared.rb'
- 'Homebrew/extend/os/extend/ENV/std.rb'
- 'Homebrew/extend/os/extend/ENV/super.rb'
- 'Homebrew/extend/os/formula_cellar_checks.rb'
- 'Homebrew/extend/os/keg_relocate.rb'
- 'Homebrew/extend/os/mac/extend/ENV/shared.rb'
- 'Homebrew/extend/os/system_config.rb'
- 'Homebrew/formula.rb'
- 'Homebrew/formula_installer.rb'
- 'Homebrew/formula_versions.rb'
- 'Homebrew/formulary.rb'
- 'Homebrew/language/haskell.rb'
- 'Homebrew/migrator.rb'
- 'Homebrew/tab.rb'
- 'Homebrew/utils/git.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Style/IndentArray:
EnforcedStyle: special_inside_parentheses
# Offense count: 7
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: module_function, extend_self
Style/ModuleFunction:
Exclude:
- 'Homebrew/global.rb'
- 'Homebrew/os/mac.rb'
- 'Homebrew/os/mac/xcode.rb'
- 'Homebrew/os/mac/xquartz.rb'
- 'Homebrew/utils/github.rb'
- 'Homebrew/utils/json.rb'
# Offense count: 8
Style/MultilineBlockChain:
Exclude:
- 'Homebrew/cmd/search.rb'
- 'Homebrew/dev-cmd/aspell-dictionaries.rb'
- 'Homebrew/dev-cmd/audit.rb'
- 'Homebrew/dev-cmd/man.rb'
- 'Homebrew/diagnostic.rb'
- 'Homebrew/test/test_patching.rb'
# Offense count: 4
# Cop supports --auto-correct.
Style/MutableConstant:
Exclude:
- 'Homebrew/dependency_collector.rb'
- 'Homebrew/formulary.rb'
- 'Homebrew/tab.rb'
- 'Homebrew/tap.rb'
# Offense count: 9
Style/OpMethod:
Exclude:
- 'Homebrew/compilers.rb'
- 'Homebrew/dependencies.rb'
- 'Homebrew/install_renamed.rb'
- 'Homebrew/options.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles.
# SupportedStyles: use_perl_names, use_english_names
Style/SpecialGlobalVars:
EnforcedStyle: use_perl_names