From 4e8ed0b989792e2d2af8f23a09098adebb441fba Mon Sep 17 00:00:00 2001 From: Agathe Lenclen Date: Thu, 9 Sep 2021 17:58:10 +0200 Subject: [PATCH] Replace ExcludedMethods by IgnoredMethods `ExcludedMethods` becomes obsolete in later version of rubocop, showing warnings. See https://github.com/rubocop/rubocop/pull/9098 and https://github.com/rubocop/rubocop/blob/1e55b1aa5e4c5eaeccad5d61f08b7930ed6bc341/relnotes/v1.5.0.md --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 27bdd52..a1cb2b4 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -42,7 +42,7 @@ Metrics/MethodLength: Metrics/BlockLength: Enabled: true - ExcludedMethods: ['describe', 'context', 'define', 'factory', 'namespace'] + IgnoredMethods: ['describe', 'context', 'define', 'factory', 'namespace'] Metrics/AbcSize: Enabled: true