Zfilipin has uploaded a new change for review.
https://gerrit.wikimedia.org/r/200562
Change subject: Fixed Style/SpaceInsideParens RuboCop offense
......................................................................
Fixed Style/SpaceInsideParens RuboCop offense
Bug: T94401
Change-Id: I3387923b6ff82706c37d806837767461c39b5352
---
M .rubocop.yml
D .rubocop_todo.yml
M tests/browser/features/support/pages/special_central_auth.rb
3 files changed, 1 insertion(+), 14 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth
refs/changes/62/200562/1
diff --git a/.rubocop.yml b/.rubocop.yml
index 75f3c65..c935388 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,5 +1,3 @@
-inherit_from: .rubocop_todo.yml
-
AllCops:
StyleGuideCopsOnly: true
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
deleted file mode 100644
index bee5987..0000000
--- a/.rubocop_todo.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# This configuration was generated by `rubocop --auto-gen-config`
-# on 2015-03-30 15:00:57 +0200 using RuboCop version 0.29.1.
-# 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: 2
-# Cop supports --auto-correct.
-Style/SpaceInsideParens:
- Enabled: false
diff --git a/tests/browser/features/support/pages/special_central_auth.rb
b/tests/browser/features/support/pages/special_central_auth.rb
index e5a39df..cbd4068 100644
--- a/tests/browser/features/support/pages/special_central_auth.rb
+++ b/tests/browser/features/support/pages/special_central_auth.rb
@@ -8,7 +8,7 @@
button(:submit, id: 'centralauth-submit-find')
fieldset(:centralauth_info, id: 'mw-centralauth-info')
- def lookup_user( username )
+ def lookup_user(username)
target_field_element.when_present.send_keys(username)
submit_element.when_present.click
end
--
To view, visit https://gerrit.wikimedia.org/r/200562
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3387923b6ff82706c37d806837767461c39b5352
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits