Skip to content

Commit

Permalink
TargetRubyVersion for rubocop
Browse files Browse the repository at this point in the history
Layout/LineLength: Line is too long. [153/120] (https://rubystyle.guide#max-line-length)
  • Loading branch information
pgwillia committed Feb 21, 2025
1 parent ca35f96 commit ec402c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ AllCops:
- "node_modules/**/*"
ExtraDetails: true
NewCops: enable
TargetRubyVersion: 3.1
TargetRubyVersion: 3.4

# readability is Actually Good
Layout/EmptyLinesAroundClassBody:
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/digitization_batch_ingest.rake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace :digitization do
# - Give `title` 80 characters of space.
# - `processing` should be the longest `status`
# - batch `size` should be pretty small to ensure that the jobs can finish in a timely manner
puts format '%38s,%80s,%12s,%7s', 'id', 'title', 'status', 'size'
puts format '%38s,%80s,%12s,%7d', 'id', 'title', 'status', 'size'
Digitization::BatchMetadataIngest.order(created_at: :desc).limit(limit).each do |batch_ingest|
puts format '%38s,%80s,%12s,%7d', batch_ingest.id, batch_ingest.title, batch_ingest.status,
batch_ingest.books.count
Expand Down

0 comments on commit ec402c9

Please sign in to comment.