r18n / r18n-core

I18n tool to translate your Ruby application
GNU Lesser General Public License v3.0
2 stars 4 forks source link

[ruby] Upgrade rubocop to version 1.26.0 #48

Closed depfu[bot] closed 2 years ago

depfu[bot] commented 2 years ago

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop (~> 1.25.1 → ~> 1.26.0) · Repo · Changelog

Release Notes

1.26.0

New features

  • #10419: Add new Style/NestedFileDirname cop. (@koic)
  • #10433: Support TargetRubyVersion 3.2 (experimental). (@koic)

Bug fixes

  • #10406: Fix a false positive for Lint/InheritException when inheriting a standard lib exception class that is not a subclass of StandardError. (@koic)
  • #10421: Make Style/DefWithParentheses aware of endless method definition. (@koic)
  • #10401: Fix a false positive for Style/HashSyntax when local variable hash key and hash value are the same. (@koic)
  • #10424: Fix a false positive for Security/YamlLoad when using Ruby 3.1+ (Psych 4). (@koic)
  • #10446: Lint/RedundantDirGlobSort unset SafeAutoCorrect. (@friendlyantz)
  • #10403: Fix an error for Style/StringConcatenation when string concatenation with multiline heredoc text. (@koic)
  • #10432: Fix an error when using regexp with non-encoding option. (@koic)
  • #10415: Fix an error for Lint/UselessTimes when using 1.times with method chain. (@koic)

Changes

  • #10408: Mark Lint/InheritException as unsafe auto-correction. (@koic)
  • #10407: Change EnforcedStyle from runtime_error to standard_error for Lint/InheritException. (@koic)
  • #10414: Update auto-gen-config's auto-correction comments to be more clear. (@maxjacobson)
  • #10427: Mark Style/For as unsafe auto-correction. (@issyl0)
  • #10410: Improve help string for --fail-level CLI option. (@tejasbubane)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 48 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)