Zfilipin has uploaded a new change for review. https://gerrit.wikimedia.org/r/234505
Change subject: Regenerated RuboCop todo file ...................................................................... Regenerated RuboCop todo file New version of RuboCop has a new feature to only disable a cop for a file where the violation is detected, but still checks the rest of the files. https://github.com/bbatsov/rubocop/blob/master/CHANGELOG.md#0330-0508201 5 Change-Id: I9b3e90ee3261471067e4525e608fbbefb6ffdddb --- M .rubocop_todo.yml 1 file changed, 72 insertions(+), 39 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant refs/changes/05/234505/1 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fcb2ee3..c650861 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,5 +1,6 @@ -# This configuration was generated by `rubocop --auto-gen-config` -# on 2015-07-23 10:03:21 -0700 using RuboCop version 0.32.1. +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2015-08-28 13:27:54 +0200 using RuboCop version 0.33.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 @@ -7,54 +8,68 @@ # Offense count: 1 Lint/HandleExceptions: - Enabled: false + Exclude: + - 'Vagrantfile' # Offense count: 1 Lint/NestedMethodDefinition: - Enabled: false + Exclude: + - 'lib/mediawiki-vagrant/settings_definer.rb' -# Offense count: 89 +# Offense count: 84 # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 129 # Offense count: 1 Style/CaseEquality: - Enabled: false + Exclude: + - 'support/packager/package.rb' # Offense count: 4 Style/DoubleNegation: - Enabled: false + Exclude: + - 'lib/mediawiki-vagrant/settings/definitions.rb' # Offense count: 7 # Configuration parameters: Exclude. Style/FileName: - Enabled: false + Exclude: + - 'lib/labs-vagrant.rb' + - 'lib/mediawiki-vagrant.rb' + - 'lib/mediawiki-vagrant/git-update.rb' + - 'lib/mediawiki-vagrant/import-dump.rb' + - 'lib/mediawiki-vagrant/paste-puppet.rb' + - 'lib/mediawiki-vagrant/run-tests.rb' + - 'support/Vagrantfile-extra.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/FormatString: - Enabled: false + Exclude: + - 'lib/labs-vagrant.rb' + - 'lib/mediawiki-vagrant/roles/list.rb' -# Offense count: 56 +# Offense count: 42 # Configuration parameters: AllowedVariables. Style/GlobalVars: - Enabled: false + Exclude: + - 'support/packager/package.rb' # Offense count: 5 # Configuration parameters: MinBodyLength. Style/GuardClause: - Enabled: false + Exclude: + - 'lib/mediawiki-vagrant/environment.rb' + - 'lib/mediawiki-vagrant/roles/list.rb' + - 'lib/mediawiki-vagrant/setup.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. Style/Next: - Enabled: false - -# Offense count: 4 -# Cop supports --auto-correct. -Style/Not: - Enabled: false + Exclude: + - 'Vagrantfile' + - 'lib/mediawiki-vagrant/roles/info.rb' # Offense count: 1 # Cop supports --auto-correct. @@ -64,49 +79,56 @@ # Offense count: 1 # Cop supports --auto-correct. Style/PerlBackrefs: - Enabled: false + Exclude: + - 'Rakefile' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantBegin: - Enabled: false + Exclude: + - 'lib/mediawiki-vagrant/paste-puppet.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantSelf: - Enabled: false + Exclude: + - 'lib/mediawiki-vagrant/settings_definer.rb' -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes. -Style/RegexpLiteral: - Enabled: false - -# Offense count: 3 +# Offense count: 2 Style/RescueModifier: - Enabled: false + Exclude: + - 'Vagrantfile' + - 'lib/mediawiki-vagrant/config.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowAsExpressionSeparator. Style/Semicolon: - Enabled: false + Exclude: + - 'support/packager/package.rb' # Offense count: 1 # Configuration parameters: Methods. Style/SingleLineBlockParams: - Enabled: false + Exclude: + - 'lib/mediawiki-vagrant/environment.rb' # Offense count: 8 # Cop supports --auto-correct. Style/SpaceAfterComma: - Enabled: false + Exclude: + - 'Vagrantfile' + - 'lib/labs-vagrant.rb' + - 'lib/mediawiki-vagrant/roles/list.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: MultiSpaceAllowedForOperators. Style/SpaceAroundOperators: - Enabled: false + Exclude: + - 'lib/labs-vagrant.rb' + - 'lib/mediawiki-vagrant/roles/list.rb' + - 'lib/mediawiki-vagrant/roles/root.rb' # Offense count: 2 # Cop supports --auto-correct. @@ -117,9 +139,13 @@ # Offense count: 5 # Cop supports --auto-correct. Style/SpecialGlobalVars: - Enabled: false + Exclude: + - 'lib/mediawiki-vagrant/setup.rb' + - 'mediawiki-vagrant.gemspec' + - 'support/completion.rb' + - 'support/setup.rb' -# Offense count: 103 +# Offense count: 95 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/StringLiterals: @@ -129,15 +155,22 @@ # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/TrailingBlankLines: - Enabled: false + Exclude: + - 'lib/mediawiki-vagrant/config.rb' + - 'lib/mediawiki-vagrant/hiera.rb' + - 'lib/mediawiki-vagrant/lsb_check/config.rb' -# Offense count: 4 +# Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. Style/TrailingComma: - Enabled: false + Exclude: + - 'Vagrantfile' + - 'lib/mediawiki-vagrant/config.rb' + - 'lib/mediawiki-vagrant/hiera.rb' + - 'lib/mediawiki-vagrant/roles/change.rb' -# Offense count: 11 +# Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: WordRegex. Style/WordArray: -- To view, visit https://gerrit.wikimedia.org/r/234505 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9b3e90ee3261471067e4525e608fbbefb6ffdddb Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/vagrant Gerrit-Branch: master Gerrit-Owner: Zfilipin <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
