Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak authored and kenyon committed Oct 15, 2023
1 parent ab4b08f commit 5cffeaf
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-05-10 18:42:52 UTC using RuboCop version 1.22.3.
# on 2023-08-17 21:29:32 UTC using RuboCop version 1.50.2.
# 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: 38
# Configuration parameters: CheckForMethodsWithNoSideEffects.
Lint/Void:
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/NonAtomicFileOperation:
Exclude:
- 'spec/unit/puppet/provider/kernel_parameter/grub2_spec.rb'
- 'spec/unit/puppet/provider/kernel_parameter/grub_spec.rb'
- 'lib/puppet/provider/grub_menuentry/grub2.rb'

# Offense count: 7
RSpec/AnyInstance:
Exclude:
- 'spec/unit/puppet/provider/kernel_parameter/grub2_spec.rb'
- 'spec/unit/puppet/provider/kernel_parameter/grub_spec.rb'

# Offense count: 6
# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/BeEq:
Exclude:
- 'spec/unit/puppet/provider/kernel_parameter/grub2_spec.rb'

# Offense count: 4
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/unit/puppet/provider/kernel_parameter/grub2_spec.rb'
- 'spec/unit/puppet/provider/kernel_parameter/grub_spec.rb'

# Offense count: 1
RSpec/MultipleDescribes:
Expand All @@ -36,7 +39,15 @@ RSpec/RepeatedExampleGroupDescription:
Exclude:
- 'spec/unit/puppet/provider/kernel_parameter/grub2_spec.rb'

# Offense count: 1
Style/MixinUsage:
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/MapToHash:
Exclude:
- 'lib/puppet/provider/grub_menuentry/grub2.rb'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/SlicingWithRange:
Exclude:
- 'spec/spec_helper_acceptance.rb'
- 'lib/puppet/provider/grub_menuentry/grub2.rb'
- 'lib/puppetx/augeasproviders_grub/util.rb'

0 comments on commit 5cffeaf

Please sign in to comment.