Cmcmahon has uploaded a new change for review.

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

Change subject: QA: update for rubocop offenses
......................................................................

QA: update for rubocop offenses

No change to function, just cleaning up

Change-Id: I1b0b4fe8e4f785cbeebc2d1415a45f831dc75f5c
---
M .rubocop.yml
M .rubocop_todo.yml
M tests/browser/features/step_definitions/messages_steps.rb
3 files changed, 32 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/01/191901/1

diff --git a/.rubocop.yml b/.rubocop.yml
index cc32da4..6ca0170 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1 +1,28 @@
 inherit_from: .rubocop_todo.yml
+
+Metrics/AbcSize:
+  Enabled: false
+
+Metrics/ClassLength:
+  Enabled: false
+
+Metrics/CyclomaticComplexity:
+  Enabled: false
+
+Metrics/LineLength:
+  Max: 100
+
+Metrics/MethodLength:
+  Enabled: false
+
+Metrics/ParameterLists:
+  Enabled: false
+
+Metrics/PerceivedComplexity:
+  Enabled: false
+
+Style/Alias:
+  Enabled: false
+
+Style/SignalException:
+  Enabled: false
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 64c4ced..52877d0 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,11 +1,11 @@
 # This configuration was generated by `rubocop --auto-gen-config`
-# on 2014-11-07 14:36:31 -0700 using RuboCop version 0.27.0.
+# on 2015-02-20 09:41:11 -0700 using RuboCop version 0.29.0.
 # The point is for the user to remove these configuration records
 # one by one as the offenses are removed from the code base.
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
-# Offense count: 11
+# Offense count: 3
 # Configuration parameters: AllowURI, URISchemes.
 Metrics/LineLength:
   Max: 128
@@ -22,4 +22,3 @@
 # Configuration parameters: AllowedVariables.
 Style/GlobalVars:
   Enabled: false
-
diff --git a/tests/browser/features/step_definitions/messages_steps.rb 
b/tests/browser/features/step_definitions/messages_steps.rb
index 0c85baf..1f277f5 100644
--- a/tests/browser/features/step_definitions/messages_steps.rb
+++ b/tests/browser/features/step_definitions/messages_steps.rb
@@ -7,8 +7,9 @@
   username = get_session_username_b
   step 'the user "' + username + '" exists'
   client.log_in(username, ENV['MEDIAWIKI_PASSWORD'])
-  client.action('flow', token_type: 'edit', submodule: 'new-topic', page: 
'Talk:Flow QA',
-                        nttopic: 'Mention #1', ntcontent: '[[User:' + 
get_session_username + ']] I wanted to say hello.')
+  client.action(
+    'flow', token_type: 'edit', submodule: 'new-topic', page: 'Talk:Flow QA', 
nttopic: 'Mention #1',
+            ntcontent: '[[User:' + get_session_username + ']] I wanted to say 
hello.')
 end
 
 When(/^I click the mark all as read button$/) do

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1b0b4fe8e4f785cbeebc2d1415a45f831dc75f5c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to