# 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.
- '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'