11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2023-04-21 12:46:34 UTC using RuboCop version 1.48.1.
3+ # on 2023-06-08 10:35:18 UTC using RuboCop version 1.48.1.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
99# Offense count: 6
10- # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
11- Metrics/AbcSize :
12- Max : 40
13-
14- # Offense count: 3
15- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
16- # AllowedMethods: refine
17- Metrics/BlockLength :
18- Max : 180
19-
20- # Offense count: 3
21- # Configuration parameters: AllowedMethods, AllowedPatterns.
22- Metrics/CyclomaticComplexity :
23- Max : 11
24-
25- # Offense count: 8
26- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
27- Metrics/MethodLength :
28- Max : 39
29-
30- # Offense count: 3
31- # Configuration parameters: AllowedMethods, AllowedPatterns.
32- Metrics/PerceivedComplexity :
33- Max : 12
34-
35- # Offense count: 32
36- # Configuration parameters: IgnoredMetadata.
37- RSpec/DescribeClass :
38- Enabled : false
39-
40- # Offense count: 13
41- # Configuration parameters: CountAsOne.
42- RSpec/ExampleLength :
43- Max : 15
44-
45- # Offense count: 3
46- # Configuration parameters: AllowSubject.
47- RSpec/MultipleMemoizedHelpers :
48- Max : 6
10+ # This cop supports safe autocorrection (--autocorrect).
11+ Lint/RedundantCopDisableDirective :
12+ Exclude :
13+ - ' lib/puppet/provider/apt_key/apt_key.rb'
14+ - ' spec/unit/puppet/provider/apt_key_spec.rb'
4915
5016# Offense count: 204
5117# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
@@ -65,33 +31,3 @@ RSpec/NamedSubject:
6531 - ' spec/defines/source_compat_spec.rb'
6632 - ' spec/defines/source_spec.rb'
6733 - ' spec/unit/facter/apt_update_last_success_spec.rb'
68-
69- # Offense count: 2
70- # Configuration parameters: AllowedGroups.
71- RSpec/NestedGroups :
72- Max : 4
73-
74- # Offense count: 24
75- # Configuration parameters: AllowedPatterns.
76- # AllowedPatterns: ^expect_, ^assert_
77- RSpec/NoExpectationExample :
78- Exclude :
79- - ' spec/acceptance/01_apt_class_spec.rb'
80- - ' spec/acceptance/apt_backports_spec.rb'
81- - ' spec/acceptance/apt_key_provider_spec.rb'
82- - ' spec/acceptance/apt_spec.rb'
83-
84- # Offense count: 3
85- RSpec/StubbedMock :
86- Exclude :
87- - ' spec/unit/puppet/provider/apt_key_spec.rb'
88-
89- # Offense count: 2
90- Security/Open :
91- Exclude :
92- - ' lib/puppet/provider/apt_key/apt_key.rb'
93-
94- # Offense count: 1
95- Style/MixinUsage :
96- Exclude :
97- - ' spec/spec_helper.rb'
0 commit comments