Skip to content

Commit

Permalink
chore: rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Nov 19, 2024
1 parent c6a5d41 commit b87fc60
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-11-08 08:38:26 UTC using RuboCop version 1.68.0.
# on 2024-11-19 15:15:51 UTC using RuboCop version 1.68.0.
# 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: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Exclude:
- 'exe/expressir-format-test'

# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 36
2 changes: 1 addition & 1 deletion exe/expressir-format-test
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ formatter = Class.new(Expressir::Express::Formatter) do
include Expressir::Express::SchemaHeadFormatter
include Expressir::Express::HyperlinkFormatter
end
result = repository.to_hash(formatter: formatter)
repository.to_hash(formatter: formatter)
puts "Repository.to_hash time: #{(Time.now - start).round(2)}s"

# puts YAML.dump(result)

0 comments on commit b87fc60

Please sign in to comment.