# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-07-09 11:50:54 +0200 using RuboCop version 0.41.2.
# 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: 6
# Cop supports --auto-correct.
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
# SupportedStyles: keyword, variable, start_of_line
Lint/EndAlignment:
  Exclude:
    - 'lib/rpm/dependency.rb'
    - 'lib/rpm/file.rb'
    - 'lib/rpm/package.rb'
    - 'lib/rpm/transaction.rb'
    - 'test/test_transaction.rb'

# Offense count: 1
Lint/UnreachableCode:
  Exclude:
    - 'lib/rpm/transaction.rb'

# Offense count: 11
Lint/UselessAssignment:
  Exclude:
    - 'lib/rpm.rb'
    - 'lib/rpm/package.rb'
    - 'lib/rpm/transaction.rb'
    - 'lib/rpm/version.rb'

# Offense count: 1
Lint/Void:
  Exclude:
    - 'test/test_rpm.rb'

# Offense count: 17
Metrics/AbcSize:
  Max: 74

# Offense count: 1
Metrics/BlockNesting:
  Max: 4

# Offense count: 3
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 225

# Offense count: 3
Metrics/CyclomaticComplexity:
  Max: 17

# Offense count: 66
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
  Max: 129

# Offense count: 21
# Configuration parameters: CountComments.
Metrics/MethodLength:
  Max: 57

# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
  Max: 295

# Offense count: 4
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
  Max: 11

# Offense count: 2
Metrics/PerceivedComplexity:
  Max: 19

# Offense count: 2
Style/AccessorMethodName:
  Exclude:
    - 'lib/rpm/match_iterator.rb'

# Offense count: 1
Style/AsciiComments:
  Exclude:
    - 'lib/rpm/file.rb'

# Offense count: 34
Style/Documentation:
  Enabled: false

# Offense count: 2
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Style/MethodName:
  Exclude:
    - 'lib/rpm/c/rpmprob.rb'
    - 'lib/rpm/c/rpmtag.rb'

# Offense count: 3
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
  Exclude:
    - 'spec/**/*'
    - 'lib/rpm/file.rb'
