Yuvipanda has submitted this change and it was merged.

Change subject: rubocop: ignore underscore in class of puppet backends
......................................................................


rubocop: ignore underscore in class of puppet backends

Style/ClassAndModuleCamelCase fails on class named Foobar_backend. The
suffix '_backend' is required by Puppet.

Ignore that rule for any file that can match.

Change-Id: I6f3dd985b8388ad7114a3ec408612542a864288c
---
M .rubocop_todo.yml
1 file changed, 1 insertion(+), 4 deletions(-)

Approvals:
  Yuvipanda: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index ca1f7ec..d8b190f 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -62,10 +62,7 @@
 # Offense count: 4
 Style/ClassAndModuleCamelCase:
   Exclude:
-    - 'modules/wmflib/lib/hiera/backend/mwyaml_backend.rb'
-    - 'modules/wmflib/lib/hiera/backend/nuyaml_backend.rb'
-    - 'modules/wmflib/lib/hiera/backend/proxy_backend.rb'
-    - 'modules/wmflib/lib/hiera/backend/role_backend.rb'
+    - 'modules/wmflib/lib/hiera/backend/*_backend.rb'
 
 # Offense count: 4
 Style/ClassVars:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6f3dd985b8388ad7114a3ec408612542a864288c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Yuvipanda <yuvipa...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to