X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=.rubocop_todo.yml;h=da3cce5150029baef908b2e0fc5a880bcde3ee87;hb=refs%2Fheads%2Ftrusted-contributors;hp=a20672eb0000298e8a271ff8df87780173a7a37a;hpb=3d5e23644f0fc557464409d98415872b2e7ba81d;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a20672e..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: @@ -128,19 +91,7 @@ Security/Open: Exclude: - 'lib/puppet/provider/apt_key/apt_key.rb' -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -Style/GlobalStdStream: - Exclude: - - 'tasks/init.rb' - # Offense count: 1 Style/MixinUsage: Exclude: - 'spec/spec_helper.rb' - -# Offense count: 2 -# This cop supports unsafe autocorrection (--autocorrect-all). -Style/SlicingWithRange: - Exclude: - - 'lib/puppet/provider/apt_key/apt_key.rb'