Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #22849 - update rubocop to 0.54 #5309

Merged
merged 2 commits into from Apr 2, 2018
Merged

Fixes #22849 - update rubocop to 0.54 #5309

merged 2 commits into from Apr 2, 2018

Conversation

mmoll
Copy link
Contributor

@mmoll mmoll commented Mar 11, 2018

[ci skip]

@theforeman-bot
Copy link
Member

Issues: #22849

# Offense count: 89
# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bastilian could you have a look there? It's app/services/report_scanner/puppet_report_scanner.rb:5

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. Here: #5341

@@ -1,6 +1,6 @@
group :development do
gem 'maruku', '~> 0.7'
gem 'rubocop', '0.52.1'
gem 'rubocop', '~> 0.53.0'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hound seems to still be on 0.52.1 (https://github.com/houndci/linters/blob/master/Gemfile.lock#L78), so it won't benefit from the new rules until they upgrade their version

# Configuration parameters: Blacklist.
# Blacklist: END, (?-mix:EO[A-Z]{1})
Naming/HeredocDelimiterNaming:
Enabled: false

# Offense count: 19
Naming/MemoizedInstanceVariableName:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add new issues in redmine for new cops?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say only if one does open a PR for fixing.

@mmoll mmoll changed the title Fixes #22849 - update rubocop to 0.53 Fixes #22849 - update rubocop to 0.54 Mar 21, 2018
@mmoll
Copy link
Contributor Author

mmoll commented Mar 30, 2018

tbrisker
tbrisker previously approved these changes Apr 1, 2018
Copy link
Member

@tbrisker tbrisker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mmoll !

@tbrisker
Copy link
Member

tbrisker commented Apr 1, 2018

Needs ack from @theforeman/packaging so GH permits merging.

@tbrisker
Copy link
Member

tbrisker commented Apr 1, 2018

@mmoll i merged the other rubocop pr, so this will need rebasing or regenerating the todo file

Copy link
Member

@dLobatog dLobatog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mmoll !

@dLobatog dLobatog merged commit 5f5b13a into theforeman:develop Apr 2, 2018
@mmoll mmoll deleted the rubocop_053 branch April 2, 2018 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants