1 # This configuration was generated by
2 # `rubocop --auto-gen-config`
3 # on 2023-04-21 12:46:34 UTC using RuboCop version 1.48.1.
4 # The point is for the user to remove these configuration records
5 # one by one as the offenses are removed from the code base.
6 # Note that changes in the inspected code, or installation of new
7 # versions of RuboCop, may require this file to be generated again.
10 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
15 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
16 # AllowedMethods: refine
21 # Configuration parameters: AllowedMethods, AllowedPatterns.
22 Metrics/CyclomaticComplexity:
26 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
31 # Configuration parameters: AllowedMethods, AllowedPatterns.
32 Metrics/PerceivedComplexity:
36 # Configuration parameters: Prefixes, AllowedPatterns.
37 # Prefixes: when, with, without
40 - 'spec/classes/apt_spec.rb'
41 - 'spec/classes/apt_update_spec.rb'
42 - 'spec/unit/puppet/provider/apt_key_spec.rb'
45 # Configuration parameters: IgnoredMetadata.
50 # Configuration parameters: CountAsOne.
55 RSpec/LeakyConstantDeclaration:
57 - 'spec/defines/key_compat_spec.rb'
58 - 'spec/defines/source_compat_spec.rb'
59 - 'spec/defines/source_spec.rb'
62 # Configuration parameters: AllowSubject.
63 RSpec/MultipleMemoizedHelpers:
67 # Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
68 # SupportedStyles: always, named_only
71 - 'spec/classes/apt_backports_spec.rb'
72 - 'spec/classes/apt_spec.rb'
73 - 'spec/classes/apt_update_spec.rb'
74 - 'spec/defines/conf_spec.rb'
75 - 'spec/defines/key_compat_spec.rb'
76 - 'spec/defines/key_spec.rb'
77 - 'spec/defines/mark_spec.rb'
78 - 'spec/defines/pin_spec.rb'
79 - 'spec/defines/ppa_spec.rb'
80 - 'spec/defines/setting_spec.rb'
81 - 'spec/defines/source_compat_spec.rb'
82 - 'spec/defines/source_spec.rb'
83 - 'spec/unit/facter/apt_update_last_success_spec.rb'
86 # Configuration parameters: AllowedGroups.
91 # Configuration parameters: AllowedPatterns.
92 # AllowedPatterns: ^expect_, ^assert_
93 RSpec/NoExpectationExample:
95 - 'spec/acceptance/01_apt_class_spec.rb'
96 - 'spec/acceptance/apt_backports_spec.rb'
97 - 'spec/acceptance/apt_key_provider_spec.rb'
98 - 'spec/acceptance/apt_spec.rb'
101 RSpec/RepeatedExampleGroupDescription:
103 - 'spec/acceptance/apt_spec.rb'
104 - 'spec/classes/apt_spec.rb'
109 - 'spec/unit/puppet/provider/apt_key_spec.rb'
114 - 'lib/puppet/provider/apt_key/apt_key.rb'
119 - 'spec/spec_helper.rb'