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
Fix warning from upstream rubocop #57
Changes from all commits
9114b0c
ec4f747
8a08e8e
acb12ac
724e240
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
inherit_from: ./config/default.yml | ||
|
||
require: | ||
- rubocop-performance | ||
|
||
Naming/FileName: | ||
Enabled: true | ||
Exclude: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ git: | |
depth: 10 | ||
|
||
rvm: | ||
- 2.3.8 | ||
- 2.4.6 | ||
- 2.5.5 | ||
- 2.6.3 | ||
- 2.7.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For future debugging purposes, can we put CI changes in a separate PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure, let me bring it in separate PR then There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like we'll need to do this PR first, then the CI PR since CI is breaking on the warnings :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, but I got CI test failure on 2.3 for this PR :( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like on 2.3 it failed with https://travis-ci.org/github/github/rubocop-github/jobs/676500683 Which is odd, since you fixed that. I didn't chase it further (maybe there's another place where it's being used?) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
|
||
source "https://rubygems.org" | ||
gemspec | ||
|
||
gem "rubocop-performance", require: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are some of the renamed checks in Rubocop Performance, or is this a separate change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, we are using some Performance cops in the
.rubocop.yml
of rubocop-github itself, and I got errors whenrubocop-performance
is not required