Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Oct 20, 2024
1 parent 8c352d4 commit 66fae34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-05-02 19:12:37 UTC using RuboCop version 1.62.1.
# on 2024-10-20 14:24:21 UTC using RuboCop version 1.64.1.
# 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
Expand Down Expand Up @@ -94,6 +94,7 @@ Naming/ClassAndModuleCamelCase:
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
Exclude:
- 'Rakefile.rb'
- 'lib/hiera/backend/eyaml/CLI.rb'

# Offense count: 3
Expand Down Expand Up @@ -127,13 +128,6 @@ Naming/VariableNumber:
Exclude:
- 'lib/hiera/backend/eyaml/utils.rb'

# Offense count: 3
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/Casecmp:
Exclude:
- 'lib/hiera/backend/eyaml/highlinehelper.rb'
- 'lib/hiera/backend/eyaml/utils.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/Detect:
Expand Down Expand Up @@ -270,6 +264,12 @@ Style/IfWithBooleanLiteralBranches:
- 'lib/hiera/backend/eyaml/highlinehelper.rb'
- 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/MapIntoArray:
Exclude:
- 'lib/hiera/backend/eyaml_backend.rb'

# Offense count: 1
Style/MultilineBlockChain:
Exclude:
Expand Down
2 changes: 1 addition & 1 deletion lib/hiera/backend/eyaml/parser/token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def to_s

class NonMatchToken < Token
def initialize(non_match)
super(non_match)
super
end

def to_encrypted(_args = {})
Expand Down

0 comments on commit 66fae34

Please sign in to comment.