diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index dd1cfe4..8f302db 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -490,14 +490,6 @@ Style/SymbolProc: - 'lib/autoheathen/email_processor.rb' - 'lib/heathen/processor_methods/htmltotext.rb' -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyleForMultiline. -# SupportedStylesForMultiline: comma, consistent_comma, no_comma -Style/TrailingCommaInArguments: - Exclude: - - 'lib/heathen/processor_methods/libreoffice.rb' - - 'lib/heathen/processor_methods/tesseract.rb' - # This cop supports safe autocorrection (--autocorrect). Style/VariableInterpolation: Exclude: diff --git a/lib/heathen/processor_methods/libreoffice.rb b/lib/heathen/processor_methods/libreoffice.rb index 81d11cb..8f6ca8a 100644 --- a/lib/heathen/processor_methods/libreoffice.rb +++ b/lib/heathen/processor_methods/libreoffice.rb @@ -65,7 +65,7 @@ def libreoffice(format:) '--convert-to', to_suffix, '--outdir', sandbox_dir, job.content_file, - '--headless', + '--headless' ) unless File.exist? target_file diff --git a/lib/heathen/processor_methods/tesseract.rb b/lib/heathen/processor_methods/tesseract.rb index 6682ab4..4f8193e 100644 --- a/lib/heathen/processor_methods/tesseract.rb +++ b/lib/heathen/processor_methods/tesseract.rb @@ -20,7 +20,7 @@ def tesseract(format: nil) job.content_file, target_file, '-l', lang.alpha3.downcase, - format, + format ) raise ConversionFailed.new(executioner.last_messages) if executioner.last_exit_status != 0