1+ # This configuration was generated by
2+ # `rubocop --auto-gen-config`
3+ # on 2023-04-19 16:55:21 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.
8+
19# Offense count: 15
210# This cop supports unsafe autocorrection (--autocorrect-all).
311Lint/BooleanSymbol :
@@ -13,16 +21,22 @@ Lint/ConstantDefinitionInBlock:
1321 Exclude :
1422 - ' spec/unit/puppet/provider/postgresql_replication_slot/ruby_spec.rb'
1523
24+ # Offense count: 1
25+ # This cop supports safe autocorrection (--autocorrect).
26+ Lint/RedundantCopEnableDirective :
27+ Exclude :
28+ - ' spec/unit/puppet/type/postgresql_psql_spec.rb'
29+
1630# Offense count: 6
1731# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1832Metrics/AbcSize :
19- Max : 49
33+ Max : 48
2034
21- # Offense count: 8
35+ # Offense count: 7
2236# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
2337# AllowedMethods: refine
2438Metrics/BlockLength :
25- Max : 121
39+ Max : 119
2640
2741# Offense count: 3
2842# Configuration parameters: AllowedMethods, AllowedPatterns.
@@ -32,7 +46,7 @@ Metrics/CyclomaticComplexity:
3246# Offense count: 6
3347# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
3448Metrics/MethodLength :
35- Max : 31
49+ Max : 29
3650
3751# Offense count: 1
3852# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
@@ -59,8 +73,7 @@ Naming/HeredocDelimiterNaming:
5973 - ' spec/defines/server/default_privileges_spec.rb'
6074 - ' spec/defines/server/grant_spec.rb'
6175
62-
63- # Offense count: 104
76+ # Offense count: 101
6477# Configuration parameters: Prefixes, AllowedPatterns.
6578# Prefixes: when, with, without
6679RSpec/ContextWording :
@@ -76,7 +89,6 @@ RSpec/DescribeClass:
7689RSpec/ExampleLength :
7790 Max : 53
7891
79-
8092# Offense count: 3
8193RSpec/ExpectInHook :
8294 Exclude :
@@ -96,10 +108,6 @@ RSpec/FilePath:
96108 - ' spec/defines/server/instance/service.rb'
97109 - ' spec/unit/puppet/type/postgresql_conn_validator.rb'
98110
99-
100- RSpec/NamedSubject :
101- Enabled : false
102-
103111# Offense count: 2
104112RSpec/LeakyConstantDeclaration :
105113 Exclude :
@@ -119,6 +127,12 @@ RSpec/MultipleExpectations:
119127RSpec/MultipleMemoizedHelpers :
120128 Max : 18
121129
130+ # Offense count: 208
131+ # Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
132+ # SupportedStyles: always, named_only
133+ RSpec/NamedSubject :
134+ Enabled : false
135+
122136# Offense count: 1
123137# Configuration parameters: AllowedGroups.
124138RSpec/NestedGroups :
@@ -160,6 +174,15 @@ Style/ClassAndModuleChildren:
160174 Exclude :
161175 - ' lib/puppet/util/postgresql_validator.rb'
162176
177+ # Offense count: 3
178+ # This cop supports unsafe autocorrection (--autocorrect-all).
179+ # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
180+ # SupportedStyles: predicate, comparison
181+ Style/NumericPredicate :
182+ Exclude :
183+ - ' spec/**/*'
184+ - ' lib/puppet/type/postgresql_psql.rb'
185+
163186# Offense count: 2
164187# Configuration parameters: AllowedMethods.
165188# AllowedMethods: respond_to_missing?
0 commit comments