From ba48c244ace367b1fea5affcb6774780ab28e823 Mon Sep 17 00:00:00 2001 From: tamsin johnson Date: Wed, 10 Jun 2020 10:18:38 -0700 Subject: [PATCH] generate `rubocop_todo` for the rubocop offenses on bixby 3.0.0 --- .rubocop_todo.yml | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .rubocop_todo.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 0000000000..29041b2295 --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,52 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2020-06-10 10:12:49 -0700 using RuboCop version 0.85.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 +# versions of RuboCop, may require this file to be generated again. + +# Offense count: 26 +RSpec/RepeatedDescription: + Exclude: + - 'spec/models/sipity/agent_spec.rb' + - 'spec/models/sipity/comment_spec.rb' + - 'spec/models/sipity/entity_spec.rb' + - 'spec/models/sipity/entity_specific_responsibility_spec.rb' + - 'spec/models/sipity/role_spec.rb' + - 'spec/models/sipity/workflow_action_spec.rb' + - 'spec/models/sipity/workflow_responsibility_spec.rb' + - 'spec/models/sipity/workflow_role_spec.rb' + - 'spec/models/sipity/workflow_state_action_permission_spec.rb' + - 'spec/models/sipity/workflow_state_action_spec.rb' + - 'spec/models/sipity/workflow_state_spec.rb' + +# Offense count: 17 +RSpec/SubjectStub: + Enabled: false # for semo reason excluding these files individually + # doesn't work? RuboCop bug? + # - 'spec/actors/hyrax/actors/generic_work_actor_spec.rb' + # - 'spec/controllers/hyrax/file_sets_controller_spec.rb' + # - 'spec/models/file_set_spec.rb' + # - 'spec/models/hyrax/work_behavior_spec.rb' + # - 'spec/search_builders/hyrax/file_set_search_builder_spec.rb' + # - 'spec/models/hyrax/operation_spec.rb' + # - 'spec/controllers/hyrax/accepts_batches_controller_spec.rb' + # - 'spec/indexers/hyrax/repository_reindexer_spec.rb' + # - 'spec/jobs/content_depositor_change_event_job_spec.rb' + # - 'spec/lib/hyrax/analytics_spec.rb' + # - 'spec/models/job_io_wrapper_spec.rb' + # - 'spec/search_builders/hyrax/abstract_type_relation_spec.rb' + # - 'spec/services/hyrax/database_migrator_spec.rb' + +# Offense count: 1 +# Configuration parameters: Include. +# Include: app/models/**/*.rb +Rails/HasManyOrHasOneDependent: + Exclude: + - 'app/models/admin_set.rb' + +# Offense count: 1 +Style/MethodMissingSuper: + Exclude: + - 'app/models/concerns/hyrax/file_set/characterization.rb'