Skip to content

Commit

Permalink
rubocop: Fix Style/FrozenStringLiteralComment
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jun 21, 2024
1 parent 69d21ec commit 62b6883
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,6 @@ RSpec/MultipleDescribes:
RSpec/MultipleExpectations:
Max: 4

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Exclude:
- 'lib/voxpupuli/test/facts.rb'
- 'lib/voxpupuli/test/rake.rb'
- 'lib/voxpupuli/test/spec_helper.rb'

# Offense count: 1
Style/MixinUsage:
Exclude:
Expand Down
2 changes: 2 additions & 0 deletions lib/voxpupuli/test/facts.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'rspec-puppet-facts'
include RspecPuppetFacts

Expand Down
2 changes: 2 additions & 0 deletions lib/voxpupuli/test/rake.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'puppetlabs_spec_helper/rake_tasks'

PuppetLint.configuration.log_format = '%<path>s:%<line>s:%<check>s:%<KIND>s:%<message>s'
Expand Down
2 changes: 2 additions & 0 deletions lib/voxpupuli/test/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

RSpec.configure do |config|
# puppetlabs_spec_helper defaults to mocha but emits a deprecation warning
# Vox Pupuli prefers rspec to avoid the deprecation warning unless explicitly
Expand Down

0 comments on commit 62b6883

Please sign in to comment.