From 8bb4706e11658b633ee589138544a0b5845829f1 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 3 Oct 2023 08:58:40 -0400 Subject: [PATCH] Move migration_helpers Rubocop ignore to config (#24236) --- .rubocop.yml | 1 + lib/mastodon/migration_helpers.rb | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 4684ef06db77407996ee67bd64cfb775b2bd0c34..64ec766b223732e20c394de292cbc68f8ae1a7dc 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -28,6 +28,7 @@ AllCops: - 'Vagrantfile' - 'vendor/**/*' - 'lib/json_ld/*' # Generated files + - 'lib/mastodon/migration_helpers.rb' # Vendored from GitLab - 'lib/templates/**/*' # Reason: Prefer Hashes without extreme indentation diff --git a/lib/mastodon/migration_helpers.rb b/lib/mastodon/migration_helpers.rb index c382b5fbd5b839a8a89488d48e132ebc9e3a208b..a92a8767ce39575eac1f4ad2c226835488ebb962 100644 --- a/lib/mastodon/migration_helpers.rb +++ b/lib/mastodon/migration_helpers.rb @@ -37,7 +37,6 @@ # This is bad form, but there are enough differences that it's impractical to do # otherwise: -# rubocop:disable all module Mastodon module MigrationHelpers @@ -989,5 +988,3 @@ into similar problems in the future (e.g. when new tables are created). end end end - -# rubocop:enable all