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.46.0 #74

Closed depfu[bot] closed 1 year ago

depfu[bot] commented 1 year 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.44.0 → ~> 1.46.0) · Repo · Changelog

Release Notes

1.46.0

New features

  • #11569: Support TargetRubyVersion 3.3 (experimental). (@koic)

Bug fixes

  • #11574: Fix a broken shorthand syntax autocorrection. (@gsamokovarov)
  • #11599: Fix a false positive for Layout/LineContinuationSpacing when using percent literals. (@koic)
  • #11556: Fix a false positive for Lint/Debugger when p is an argument of method call. (@koic)
  • #11591: Fix a false positive for Lint/ToEnumArguments when enumerator is not created for __callee__ and __callee__ methods. (@koic)
  • #11603: Actually run temporarily enabled cops. (@tdeo)
  • #11579: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a method argument in a parenthesized block argument. (@koic)
  • #11576: Fix an error for Lint/UselessRescue when rescue does not exception variable and ensure has empty body. (@koic)
  • #11608: Fix an error for Lint/RefinementImportMethods when using include on the top level. (@koic)
  • #11589: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a branch body in a method argument of a parenthesized argument. (@koic)
  • #11567: Fix Layout/EndAlignment false negative. (@j-miyake)
  • #11582: Fix checking if token with large offset begins its line. (@fatkodima)
  • #11412: Mark Style/ArrayIntersect as unsafe. (@koic)
  • #11559: Fixed false positives and negatives in Style/RedundantRegexpCharacterClass when using octal escapes (e.g. "\0"). (@jaynetics)
  • #11575: Fix parentheses in value omissions for multiple assignments. (@gsamokovarov)

Changes

  • #11586: Handle ruby2_keywords in Style/DocumentationMethod cop. (@fatkodima)
  • #11604: Make Naming/VariableNumber to allow x86_64 CPU architecture name by default. (@koic)
  • #11596: Make Style/AccessorGrouping aware of method call before accessor. (@koic)
  • #11588: Optimize Style/WordArray complex matrix check. (@sambostock)
  • #11573: Handle hash patterns and pins in Lint/OutOfRangeRegexpRef cop. (@fatkodima)
  • #11564: Remove print debug methods from default for Lint/Debugger. (@koic)

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

Commits

See the full diff on Github. The new version differs by 44 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)
depfu[bot] commented 1 year ago

Closed in favor of #75.

depfu[bot] commented 1 year ago

Closed in favor of #75.