sul-dlss/sdr-client

View on GitHub
.rubocop_todo.yml

Summary

Maintainability
Test Coverage
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude`
# on 2024-05-01 23:27:58 UTC using RuboCop version 1.63.4.
# 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
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
  Exclude:
    - 'sdr-client.gemspec'

# Offense count: 35
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
  Exclude:
    - 'lib/sdr_client/cli.rb'
    - 'lib/sdr_client/deposit/model_process.rb'
    - 'lib/sdr_client/update.rb'
    - 'spec/sdr_client/deposit/model_process_spec.rb'
    - 'spec/sdr_client/deposit/process_spec.rb'
    - 'spec/sdr_client/update_spec.rb'

# Offense count: 1
Lint/NoReturnInBeginEndBlocks:
  Exclude:
    - 'lib/sdr_client/deposit/model_process.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
Lint/UnusedMethodArgument:
  Exclude:
    - 'lib/sdr_client/deposit/file_type_file_set_strategy.rb'
    - 'lib/sdr_client/deposit/image_file_set_strategy.rb'

# Offense count: 15
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
Metrics/AbcSize:
  Exclude:
    - 'lib/sdr_client/cli.rb'
    - 'lib/sdr_client/deposit/request.rb'
    - 'lib/sdr_client/redesigned_client.rb'
    - 'lib/sdr_client/redesigned_client/cli.rb'
    - 'lib/sdr_client/redesigned_client/cli/update.rb'
    - 'lib/sdr_client/update.rb'

# Offense count: 2
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/CyclomaticComplexity:
  Exclude:
    - 'lib/sdr_client/redesigned_client/cli/update.rb'
    - 'lib/sdr_client/update.rb'

# Offense count: 15
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
  Exclude:
    - 'lib/sdr_client/cli.rb'
    - 'lib/sdr_client/deposit/file.rb'
    - 'lib/sdr_client/deposit/model_process.rb'
    - 'lib/sdr_client/deposit/process.rb'
    - 'lib/sdr_client/deposit/request.rb'
    - 'lib/sdr_client/login.rb'
    - 'lib/sdr_client/redesigned_client/cli.rb'
    - 'lib/sdr_client/redesigned_client/cli/update.rb'
    - 'lib/sdr_client/update.rb'

# Offense count: 15
# Configuration parameters: Max, CountAsOne.
RSpec/ExampleLength:
  Exclude:
    - 'spec/sdr_client/deposit_model_spec.rb'
    - 'spec/sdr_client/deposit_spec.rb'
    - 'spec/sdr_client/redesigned_client/deposit_spec.rb'
    - 'spec/sdr_client/redesigned_client/upload_files_metadata_builder_spec.rb'
    - 'spec/sdr_client/update_spec.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
  Exclude:
    - 'spec/sdr_client/deposit_spec.rb'

# Offense count: 24
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
  Exclude:
    - 'spec/sdr_client/background_job_results_spec.rb'
    - 'spec/sdr_client/connection_spec.rb'
    - 'spec/sdr_client/credentials_spec.rb'
    - 'spec/sdr_client/deposit/model_process_spec.rb'
    - 'spec/sdr_client/deposit/process_spec.rb'
    - 'spec/sdr_client/login_spec.rb'

# Offense count: 25
# Configuration parameters: Max, AllowedGroups.
RSpec/NestedGroups:
  Exclude:
    - 'spec/sdr_client/deposit/metadata_builder_spec.rb'
    - 'spec/sdr_client/deposit/model_process_spec.rb'
    - 'spec/sdr_client/deposit/process_spec.rb'
    - 'spec/sdr_client/login_spec.rb'
    - 'spec/sdr_client/redesigned_client/job_status_spec.rb'
    - 'spec/sdr_client/update_spec.rb'

# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
RSpec/ReceiveMessages:
  Exclude:
    - 'spec/sdr_client/update_spec.rb'

# Offense count: 23
# This cop supports safe autocorrection (--autocorrect).
Style/KeywordParametersOrder:
  Exclude:
    - 'lib/sdr_client/deposit.rb'
    - 'lib/sdr_client/deposit/request.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Style/MultilineTernaryOperator:
  Exclude:
    - 'lib/sdr_client/redesigned_client/cli/update.rb'
    - 'lib/sdr_client/update.rb'

# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
  Exclude:
    - 'lib/sdr_client/deposit/create_resource.rb'
    - 'spec/sdr_client/deposit_spec.rb'