summaryrefslogtreecommitdiff
path: root/.rubocop_todo/performance
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-20 14:22:11 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-20 14:22:11 +0000
commit0c872e02b2c822e3397515ec324051ff540f0cd5 (patch)
treece2fb6ce7030e4dad0f4118d21ab6453e5938cdd /.rubocop_todo/performance
parentf7e05a6853b12f02911494c4b3fe53d9540d74fc (diff)
downloadgitlab-ce-0c872e02b2c822e3397515ec324051ff540f0cd5.tar.gz
Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.0-rc42
Diffstat (limited to '.rubocop_todo/performance')
-rw-r--r--.rubocop_todo/performance/active_record_subtransaction_methods.yml1
-rw-r--r--.rubocop_todo/performance/bind_call.yml10
-rw-r--r--.rubocop_todo/performance/method_object_as_block.yml5
-rw-r--r--.rubocop_todo/performance/redundant_block_call.yml12
-rw-r--r--.rubocop_todo/performance/string_include.yml3
5 files changed, 1 insertions, 30 deletions
diff --git a/.rubocop_todo/performance/active_record_subtransaction_methods.yml b/.rubocop_todo/performance/active_record_subtransaction_methods.yml
index 2644f08c4d1..1eeb37ff3fd 100644
--- a/.rubocop_todo/performance/active_record_subtransaction_methods.yml
+++ b/.rubocop_todo/performance/active_record_subtransaction_methods.yml
@@ -43,7 +43,6 @@ Performance/ActiveRecordSubtransactionMethods:
- 'ee/db/fixtures/production/027_plans.rb'
- 'ee/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules.rb'
- 'ee/lib/gitlab/elastic/indexer.rb'
- - 'lib/gitlab/ci/pipeline/seed/environment.rb'
- 'lib/gitlab/ci/pipeline/seed/processable/resource_group.rb'
- 'lib/gitlab/ci/trace/chunked_io.rb'
- 'lib/gitlab/composer/cache.rb'
diff --git a/.rubocop_todo/performance/bind_call.yml b/.rubocop_todo/performance/bind_call.yml
deleted file mode 100644
index 5adb519793d..00000000000
--- a/.rubocop_todo/performance/bind_call.yml
+++ /dev/null
@@ -1,10 +0,0 @@
----
-# Cop supports --auto-correct.
-Performance/BindCall:
- Exclude:
- - 'app/services/metrics/dashboard/grafana_metric_embed_service.rb'
- - 'ee/spec/features/issues/form_spec.rb'
- - 'lib/gitlab/patch/prependable.rb'
- - 'spec/features/issues/form_spec.rb'
- - 'spec/mailers/notify_spec.rb'
- - 'spec/support/patches/rspec_mocks_prepended_methods.rb'
diff --git a/.rubocop_todo/performance/method_object_as_block.yml b/.rubocop_todo/performance/method_object_as_block.yml
index acb1e2d621b..8524376772e 100644
--- a/.rubocop_todo/performance/method_object_as_block.yml
+++ b/.rubocop_todo/performance/method_object_as_block.yml
@@ -11,7 +11,6 @@ Performance/MethodObjectAsBlock:
- 'app/models/container_repository.rb'
- 'app/models/programming_language.rb'
- 'app/presenters/packages/detail/package_presenter.rb'
- - 'app/services/bulk_imports/file_download_service.rb'
- 'app/services/ci/pipeline_processing/atomic_processing_service.rb'
- 'app/services/ci/prometheus_metrics/observe_histograms_service.rb'
- 'app/services/concerns/users/participable_service.rb'
@@ -26,7 +25,6 @@ Performance/MethodObjectAsBlock:
- 'ee/app/finders/security/findings_finder.rb'
- 'ee/app/graphql/resolvers/vulnerabilities/scanners_resolver.rb'
- 'ee/app/services/dashboard/projects/create_service.rb'
- - 'ee/app/services/security/findings/cleanup_service.rb'
- 'ee/app/services/security/ingestion/ingest_reports_service.rb'
- 'ee/app/services/security/ingestion/tasks/ingest_vulnerability_statistics.rb'
- 'ee/app/services/security/store_grouped_scans_service.rb'
@@ -75,20 +73,17 @@ Performance/MethodObjectAsBlock:
- 'lib/gitlab/uploads/migration_helper.rb'
- 'lib/gitlab/utils.rb'
- 'lib/peek/views/detailed_view.rb'
- - 'lib/tasks/gitlab/assets.rake'
- 'lib/unnested_in_filters/rewriter.rb'
- 'qa/qa/specs/features/browser_ui/2_plan/email/trigger_email_notification_spec.rb'
- 'rubocop/cop/avoid_return_from_blocks.rb'
- 'rubocop/cop/gitlab/mark_used_feature_flags.rb'
- 'rubocop/rubocop.rb'
- - 'scripts/api/download_job_artifact.rb'
- 'spec/graphql/resolvers/concerns/caching_array_resolver_spec.rb'
- 'spec/lib/api/entities/merge_request_basic_spec.rb'
- 'spec/lib/gitlab/import_export/import_test_coverage_spec.rb'
- 'spec/lib/gitlab/search_context/builder_spec.rb'
- 'spec/models/design_management/version_spec.rb'
- 'spec/services/notification_service_spec.rb'
- - 'spec/services/projects/container_repository/cleanup_tags_service_spec.rb'
- 'spec/support/helpers/migrations_helpers.rb'
- 'spec/support/shared_examples/models/active_record_enum_shared_examples.rb'
- 'spec/support_specs/helpers/stub_feature_flags_spec.rb'
diff --git a/.rubocop_todo/performance/redundant_block_call.yml b/.rubocop_todo/performance/redundant_block_call.yml
deleted file mode 100644
index 89a67e3fd30..00000000000
--- a/.rubocop_todo/performance/redundant_block_call.yml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-# Cop supports --auto-correct.
-Performance/RedundantBlockCall:
- Exclude:
- - 'ee/app/models/gitlab_subscription.rb'
- - 'ee/lib/ee/gitlab/auth/ldap/sync/proxy.rb'
- - 'lib/gitlab/auth/ldap/access.rb'
- - 'lib/gitlab/auth/ldap/adapter.rb'
- - 'lib/gitlab/database/bulk_update.rb'
- - 'lib/gitlab/http.rb'
- - 'lib/gitlab/safe_request_store.rb'
- - 'lib/gitlab/timeless.rb'
diff --git a/.rubocop_todo/performance/string_include.yml b/.rubocop_todo/performance/string_include.yml
index f477593c02a..2a2d0559397 100644
--- a/.rubocop_todo/performance/string_include.yml
+++ b/.rubocop_todo/performance/string_include.yml
@@ -1,5 +1,5 @@
---
-# Cop supports --auto-correct.
+# Cop supports --autocorrect.
Performance/StringInclude:
Exclude:
- 'app/models/snippet_repository.rb'
@@ -7,7 +7,6 @@ Performance/StringInclude:
- 'config/spring.rb'
- 'ee/app/models/ee/container_registry/event.rb'
- 'ee/lib/gitlab/auth/smartcard/certificate.rb'
- - 'lib/gitlab/database/migration_helpers.rb'
- 'lib/kramdown/parser/atlassian_document_format.rb'
- 'lib/prometheus/pid_provider.rb'
- 'spec/features/projects/jobs_spec.rb'