From 17ad90fe932de1526ca2eabd2b0b31ab4ab7f38e Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 8 Feb 2024 17:16:50 +0100 Subject: [PATCH] RuboCop: exclude Guardfile from list of files This version of RuboCop failed to execute when reading that file, with this error: An error occurred while Layout/BlockAlignment cop was inspecting /home/runner/work/annotate_models/annotate_models/Guardfile:9:0. So, ignoring that, for now. --- .rubocop.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.rubocop.yml b/.rubocop.yml index 4d06aa98..9c5e0819 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -11,6 +11,7 @@ AllCops: - 'spec/fixtures/**/*' - 'tmp/**/*' - 'spec/integration/**/*' + - 'Guardfile' NewCops: enable Metrics/BlockLength: