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

Upgrade rubocop + rubocop plugins #1515

Merged
merged 29 commits into from
Apr 2, 2025
Merged

Upgrade rubocop + rubocop plugins #1515

merged 29 commits into from
Apr 2, 2025

Conversation

modosc
Copy link
Contributor

@modosc modosc commented Mar 31, 2025

this pr upgrades rubocop to the most recent version. it also upgrades the various plugins we use to the most recent compatible versions. this unblocks #1513 (which requires a newer version of rubocop to support ruby 3.4).

this pr includes all of the safe fixes (via rubocop -a) except Gemspec/RequireMFA (i'm not sure who has access to this on rubygems so i didn't want to lock anyone out).

all other errors were added to .rubocop_todo.yml via rubocop --auto-gen-config.

  • Wrote good commit messages.
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Added an entry to the Changelog if the new
    code introduces user-observable changes.
  • The PR relates to only one subject with a clear title
    and description in grammatically correct, complete sentences.

@modosc modosc marked this pull request as ready for review March 31, 2025 17:54
@modosc modosc requested a review from jaredbeck March 31, 2025 17:54
@modosc modosc requested review from fatkodima and skipkayhil March 31, 2025 21:35
@modosc modosc requested review from fatkodima and davidrunger March 31, 2025 23:08
Copy link
Contributor

@davidrunger davidrunger left a comment

Choose a reason for hiding this comment

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

This looks solid to me. I largely agree with @fatkodima 's comments about some of the cops that might be better to disable rather than to autocorrect and enforce.

@modosc
Copy link
Contributor Author

modosc commented Apr 1, 2025

i'll make one more pass and try to revert the rules mentioned above. if it's not straightforward i'll have to abandon this attempt - i have very little time today to work on this and i don't want bike shedding to block the real reason i did this (#1514).

@modosc
Copy link
Contributor Author

modosc commented Apr 1, 2025

ok, i've addressed + fixed all the previous issues. if i don't hear anything else back in the next day i'll go ahead and merge.

@modosc modosc merged commit 29d6013 into master Apr 2, 2025
18 checks passed
@modosc modosc deleted the upgrade-rubocop branch April 2, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants