11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2023-04-12 14:55:26 UTC using RuboCop version 1.50.1 .
3+ # on 2024-01-23 11:29:18 UTC using RuboCop version 1.50.2 .
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
@@ -14,13 +14,6 @@ Gemspec/RequireMFA:
1414 Exclude :
1515 - ' ruby-pwsh.gemspec'
1616
17- # Offense count: 1
18- # Configuration parameters: Severity, Include.
19- # Include: **/*.gemspec
20- Gemspec/RequiredRubyVersion :
21- Exclude :
22- - ' ruby-pwsh.gemspec'
23-
2417# Offense count: 1
2518# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
2619Lint/DuplicateBranch :
@@ -38,11 +31,11 @@ Lint/EmptyClass:
3831Lint/IncompatibleIoSelectWithFiberScheduler :
3932 Exclude :
4033 - ' lib/pwsh.rb'
41- #
34+
4235# Offense count: 17
4336# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
4437Metrics/AbcSize :
45- Max : 86
38+ Max : 83
4639
4740# Offense count: 2
4841# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
@@ -53,12 +46,12 @@ Metrics/BlockLength:
5346# Offense count: 2
5447# Configuration parameters: CountComments, CountAsOne.
5548Metrics/ClassLength :
56- Max : 529
49+ Max : 526
5750
5851# Offense count: 12
5952# Configuration parameters: AllowedMethods, AllowedPatterns.
6053Metrics/CyclomaticComplexity :
61- Max : 25
54+ Max : 24
6255
6356# Offense count: 22
6457# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
@@ -68,7 +61,7 @@ Metrics/MethodLength:
6861# Offense count: 10
6962# Configuration parameters: AllowedMethods, AllowedPatterns.
7063Metrics/PerceivedComplexity :
71- Max : 25
64+ Max : 24
7265
7366# Offense count: 1
7467# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
@@ -97,7 +90,7 @@ RSpec/BeforeAfterAll:
9790 - ' spec/support/**/*.rb'
9891 - ' spec/acceptance/dsc/basic.rb'
9992
100- # Offense count: 81
93+ # Offense count: 26
10194# Configuration parameters: Prefixes, AllowedPatterns.
10295# Prefixes: when, with, without
10396RSpec/ContextWording :
@@ -107,7 +100,6 @@ RSpec/ContextWording:
107100 - ' spec/acceptance/dsc/class.rb'
108101 - ' spec/acceptance/dsc/complex.rb'
109102 - ' spec/unit/puppet/provider/dsc_base_provider/dsc_base_provider_spec.rb'
110- - ' spec/unit/pwsh/util_spec.rb'
111103 - ' spec/unit/pwsh/windows_powershell_spec.rb'
112104 - ' spec/unit/pwsh_spec.rb'
113105
@@ -176,22 +168,10 @@ RSpec/SubjectStub:
176168 Exclude :
177169 - ' spec/unit/puppet/provider/dsc_base_provider/dsc_base_provider_spec.rb'
178170
179- # Offense count: 6
180- Style/ClassVars :
181- Exclude :
182- - ' lib/puppet/provider/dsc_base_provider/dsc_base_provider.rb'
183-
184171# Offense count: 1
185172# Configuration parameters: AllowedConstants.
186173Style/Documentation :
187174 Exclude :
188175 - ' spec/**/*'
189176 - ' test/**/*'
190177 - ' lib/puppet/provider/dsc_base_provider/dsc_base_provider.rb'
191-
192- # Offense count: 121
193- # This cop supports safe autocorrection (--autocorrect).
194- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
195- # URISchemes: http, https
196- Layout/LineLength :
197- Max : 196
0 commit comments