Adjusting rubocop_todo.yml MAINT_sync_changelog_changes
authorLukas Audzevicius <laudzevicius24@hotmail.com>
Thu, 8 Jun 2023 10:36:25 +0000 (11:36 +0100)
committerLukas Audzevicius <laudzevicius24@hotmail.com>
Thu, 8 Jun 2023 10:36:25 +0000 (11:36 +0100)
.rubocop.yml
.rubocop_todo.yml

index 5be1f9fa994085890c3fe9db117a937b8928f8cb..33d66a7ca19b5e4ac90be669a8b3bd62fa49035a 100644 (file)
@@ -1,4 +1,6 @@
 ---
+inherit_from: .rubocop_todo.yml
+
 require:
 - rubocop-performance
 - rubocop-rspec
index da3cce5150029baef908b2e0fc5a880bcde3ee87..07f617efe28bee8fd0686928f6285dc7671fea54 100644 (file)
@@ -1,51 +1,17 @@
 # This configuration was generated by
 # `rubocop --auto-gen-config`
-# on 2023-04-21 12:46:34 UTC using RuboCop version 1.48.1.
+# on 2023-06-08 10:35:18 UTC using RuboCop version 1.48.1.
 # 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
-# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
-Metrics/AbcSize:
-  Max: 40
-
-# Offense count: 3
-# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
-# AllowedMethods: refine
-Metrics/BlockLength:
-  Max: 180
-
-# Offense count: 3
-# Configuration parameters: AllowedMethods, AllowedPatterns.
-Metrics/CyclomaticComplexity:
-  Max: 11
-
-# Offense count: 8
-# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
-Metrics/MethodLength:
-  Max: 39
-
-# Offense count: 3
-# Configuration parameters: AllowedMethods, AllowedPatterns.
-Metrics/PerceivedComplexity:
-  Max: 12
-
-# Offense count: 32
-# Configuration parameters: IgnoredMetadata.
-RSpec/DescribeClass:
-  Enabled: false
-
-# Offense count: 13
-# Configuration parameters: CountAsOne.
-RSpec/ExampleLength:
-  Max: 15
-
-# Offense count: 3
-# Configuration parameters: AllowSubject.
-RSpec/MultipleMemoizedHelpers:
-  Max: 6
+# This cop supports safe autocorrection (--autocorrect).
+Lint/RedundantCopDisableDirective:
+  Exclude:
+    - 'lib/puppet/provider/apt_key/apt_key.rb'
+    - 'spec/unit/puppet/provider/apt_key_spec.rb'
 
 # Offense count: 204
 # Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
@@ -65,33 +31,3 @@ RSpec/NamedSubject:
     - 'spec/defines/source_compat_spec.rb'
     - 'spec/defines/source_spec.rb'
     - 'spec/unit/facter/apt_update_last_success_spec.rb'
-
-# Offense count: 2
-# Configuration parameters: AllowedGroups.
-RSpec/NestedGroups:
-  Max: 4
-
-# Offense count: 24
-# Configuration parameters: AllowedPatterns.
-# AllowedPatterns: ^expect_, ^assert_
-RSpec/NoExpectationExample:
-  Exclude:
-    - 'spec/acceptance/01_apt_class_spec.rb'
-    - 'spec/acceptance/apt_backports_spec.rb'
-    - 'spec/acceptance/apt_key_provider_spec.rb'
-    - 'spec/acceptance/apt_spec.rb'
-
-# Offense count: 3
-RSpec/StubbedMock:
-  Exclude:
-    - 'spec/unit/puppet/provider/apt_key_spec.rb'
-
-# Offense count: 2
-Security/Open:
-  Exclude:
-    - 'lib/puppet/provider/apt_key/apt_key.rb'
-
-# Offense count: 1
-Style/MixinUsage:
-  Exclude:
-    - 'spec/spec_helper.rb'