X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=.rubocop_todo.yml;h=da3cce5150029baef908b2e0fc5a880bcde3ee87;hb=refs%2Fheads%2Ftrusted-contributors;hp=fb3857b0362552813b571d3c34576ff433c26ef8;hpb=8a7fc6272bc86965815f213436a24e093a329420;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fb3857b..da3cce5 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,15 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 3 -# Configuration parameters: AllowedMethods. -# AllowedMethods: enums -Lint/ConstantDefinitionInBlock: - Exclude: - - 'spec/defines/key_compat_spec.rb' - - 'spec/defines/source_compat_spec.rb' - - 'spec/defines/source_spec.rb' - # Offense count: 6 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: @@ -41,21 +32,6 @@ Metrics/MethodLength: Metrics/PerceivedComplexity: Max: 12 -# Offense count: 1 -# Configuration parameters: MinSize. -Performance/CollectionLiteralInLoop: - Exclude: - - 'spec/classes/apt_update_spec.rb' - -# Offense count: 6 -# Configuration parameters: Prefixes, AllowedPatterns. -# Prefixes: when, with, without -RSpec/ContextWording: - Exclude: - - 'spec/classes/apt_spec.rb' - - 'spec/classes/apt_update_spec.rb' - - 'spec/unit/puppet/provider/apt_key_spec.rb' - # Offense count: 32 # Configuration parameters: IgnoredMetadata. RSpec/DescribeClass: @@ -66,13 +42,6 @@ RSpec/DescribeClass: RSpec/ExampleLength: Max: 15 -# Offense count: 3 -RSpec/LeakyConstantDeclaration: - Exclude: - - 'spec/defines/key_compat_spec.rb' - - 'spec/defines/source_compat_spec.rb' - - 'spec/defines/source_spec.rb' - # Offense count: 3 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: @@ -112,12 +81,6 @@ RSpec/NoExpectationExample: - 'spec/acceptance/apt_key_provider_spec.rb' - 'spec/acceptance/apt_spec.rb' -# Offense count: 4 -RSpec/RepeatedExampleGroupDescription: - Exclude: - - 'spec/acceptance/apt_spec.rb' - - 'spec/classes/apt_spec.rb' - # Offense count: 3 RSpec/StubbedMock: Exclude: