-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
RuboCop autofixes for Ruby 3.1 #16337
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.
Thanks @issyl0! If you can make this PR non-draft after CI is 🟢: let's get it merged ASAP. This is going to be much better/easier to handle with lots of smaller PRs (maybe even one commit per PR) than one big PR that grows and stays open for a while.
7b82b69
to
74d8a9c
Compare
It will also make this a lot less trivial as you will then need to convert every tap and merge them all at the same time. Half why I dumped a Gist link and walked away :-) |
Oh, but 2.6 and 3.1 disagree with each other. Joy. |
The easiest way is likely shipping |
Yeah, I realised this is bigger than I thought. We can do it though! Somehow. |
Good idea. I'll do that soon. |
- As discussed in Homebrew#16337 (comment), then we won't have the chicken/egg problem of fixing cops for syntax that's unsupported on Ruby 2.6 _before_ we set the TargetRubyVersion to 3.1, but if we set it too early then all the taps will fail.
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?