Stan has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/176282

Change subject: disable cop in this instance only
......................................................................

disable cop in this instance only

Bug: T75898
Change-Id: Icfcbb9e036994c96b0bf2a0673dbd36a59e6463c
---
M .rubocop_todo.yml
M Gemfile
2 files changed, 3 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/selenium 
refs/changes/82/176282/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 3587a1b..ddbf57b 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -10,11 +10,6 @@
 Style/GlobalVars:
   Enabled: false
 
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/LeadingCommentSpace:
-  Enabled: false
-
 # Offense count: 3
 # Cop supports --auto-correct.
 Style/NilComparison:
diff --git a/Gemfile b/Gemfile
index 136a71d..7a99a20 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,5 +1,8 @@
+# rubocop:disable Style/LeadingCommentSpace
+# rvm seems to require no space so disable specifically here only
 #ruby=ruby-2.1.1
 #ruby-gemset=mediawiki_selenium
+# rubocop:enable Style/LeadingCommentSpace
 
 source 'https://rubygems.org'
 

-- 
To view, visit https://gerrit.wikimedia.org/r/176282
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icfcbb9e036994c96b0bf2a0673dbd36a59e6463c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/selenium
Gerrit-Branch: master
Gerrit-Owner: Stan <tris...@saticed.me.uk>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to