From 2041da936d8c0c9b7c824737cc74d3a054d68c12 Mon Sep 17 00:00:00 2001 From: Anshul Riyal Date: Mon, 9 May 2022 01:23:28 +0530 Subject: [PATCH] Move Rails/Pick into separate TODO file Changelog: other --- .rubocop_todo.yml | 5 ----- .rubocop_todo/rails/pick.yml | 43 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 .rubocop_todo/rails/pick.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e819377d06090b..93fa921f5f2cbc 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -145,11 +145,6 @@ Rails/MailerName: Rails/NegateInclude: Enabled: false -# Offense count: 46 -# Cop supports --auto-correct. -Rails/Pick: - Enabled: false - # Offense count: 39 # Cop supports --auto-correct. # Configuration parameters: Include. diff --git a/.rubocop_todo/rails/pick.yml b/.rubocop_todo/rails/pick.yml new file mode 100644 index 00000000000000..95ed3e61cb5d5e --- /dev/null +++ b/.rubocop_todo/rails/pick.yml @@ -0,0 +1,43 @@ +--- +# Cop supports --auto-correct. +Rails/Pick: + # Offense count: 42 + # Temporarily disabled due to too many offenses + Enabled: false + Exclude: + - 'app/models/ci/pipeline.rb' + - 'app/models/merge_request.rb' + - 'app/models/merge_request/metrics.rb' + - 'app/models/merge_request_diff.rb' + - 'db/post_migrate/20210825193652_backfill_cadence_id_for_boards_scoped_to_iteration.rb' + - 'db/post_migrate/20220213103859_remove_integrations_type.rb' + - 'db/post_migrate/20220412143552_consume_remaining_encrypt_integration_property_jobs.rb' + - 'ee/app/models/concerns/epic_tree_sorting.rb' + - 'ee/app/models/ee/group.rb' + - 'ee/app/models/ee/namespace.rb' + - 'ee/app/models/geo/project_registry.rb' + - 'ee/lib/analytics/merge_request_metrics_calculator.rb' + - 'ee/lib/ee/gitlab/background_migration/backfill_iteration_cadence_id_for_boards.rb' + - 'ee/lib/ee/gitlab/background_migration/populate_status_column_of_security_scans.rb' + - 'ee/spec/finders/security/findings_finder_spec.rb' + - 'lib/gitlab/background_migration/backfill_ci_namespace_mirrors.rb' + - 'lib/gitlab/background_migration/backfill_ci_project_mirrors.rb' + - 'lib/gitlab/background_migration/backfill_integrations_type_new.rb' + - 'lib/gitlab/background_migration/backfill_namespace_traversal_ids_children.rb' + - 'lib/gitlab/background_migration/backfill_namespace_traversal_ids_roots.rb' + - 'lib/gitlab/background_migration/backfill_work_item_type_id_for_issues.rb' + - 'lib/gitlab/background_migration/batching_strategies/backfill_project_namespace_per_group_batching_strategy.rb' + - 'lib/gitlab/background_migration/batching_strategies/primary_key_batching_strategy.rb' + - 'lib/gitlab/background_migration/cleanup_orphaned_lfs_objects_projects.rb' + - 'lib/gitlab/background_migration/drop_invalid_security_findings.rb' + - 'lib/gitlab/background_migration/encrypt_static_object_token.rb' + - 'lib/gitlab/background_migration/fix_first_mentioned_in_commit_at.rb' + - 'lib/gitlab/background_migration/populate_vulnerability_reads.rb' + - 'lib/gitlab/background_migration/update_timelogs_null_spent_at.rb' + - 'lib/gitlab/database/dynamic_model_helpers.rb' + - 'lib/gitlab/database/migrations/background_migration_helpers.rb' + - 'lib/gitlab/database/partitioning_migration_helpers/backfill_partitioned_table.rb' + - 'lib/gitlab/github_import/user_finder.rb' + - 'lib/gitlab/relative_positioning/item_context.rb' + - 'spec/lib/gitlab/background_migration/backfill_snippet_repositories_spec.rb' + - 'spec/requests/projects/cycle_analytics_events_spec.rb' -- GitLab