From 5062710684875ffea3b53ecf1803b84f52516135 Mon Sep 17 00:00:00 2001 From: Nick LaMuro Date: Wed, 12 Jul 2017 11:47:11 -0500 Subject: [PATCH] Ignore Output and Exit cops in worker bins Script files are meant to output and be in charge of their own exits and exit statuses, and since the workers bin files currently live here, these cops will just add noise to future PRs modifying these scripts. So just exclude them. --- .rubocop_local.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.rubocop_local.yml b/.rubocop_local.yml index a41921fd1d4..ac9cefe3f34 100644 --- a/.rubocop_local.yml +++ b/.rubocop_local.yml @@ -40,6 +40,12 @@ FileName: Metrics/LineLength: Exclude: - Gemfile +Rails/Exit: + Exclude: + - lib/workers/bin/* +Rails/Output: + Exclude: + - lib/workers/bin/* Style/ExtraSpacing: Exclude: - Gemfile