-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Introduce RuboCop #267
Introduce RuboCop #267
Conversation
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.
You appear to have squashed various changes into a single commit.
@ekohl I moved the dependabot config to another PR and updated the PR title. Is that good now? |
13ae824
to
6b92985
Compare
I split the commits up and pulled "dropping ruby 2.5/26." into #274 |
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.
I wonder if we should disable the cop that uses single quotes to keep the diff smaller. These days there is no performance difference so it really doesn't matter. But I'm fine either way.
@@ -49,50 +48,50 @@ def factset_to_os_label(fs) | |||
os_rel = fs.fetch(:operatingsystemmajrelease, fs.fetch(:lsbmajdistrelease, nil)) | |||
os__rel = fs.fetch(:lsbdistrelease, fs.fetch(:operatingsystemrelease, '@@@')) | |||
else | |||
require 'pp' |
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.
Is this loaded by default?
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.
I think that's indeed in ruby core and the require isn't required anymore. In my tests it works fine.
Contains #268