leoarnold / puppet-cups

Puppet module for the Common Unix Printing System (CUPS)
https://forge.puppetlabs.com/leoarnold/cups
MIT License
9 stars 34 forks source link

Upgrade rubocop to version 1.32.0 #495

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.31.2 → 1.32.0) · Repo · Changelog

Release Notes

1.32.0

New features

  • #10820: Add new Style/EmptyHeredoc cop. (@koic)
  • #10691: Add new Layout/MultilineMethodParameterLineBreaks cop. (@Korri)
  • #10790: Support AllowComments option for Style/EmptyElse. (@ydah)
  • #10792: Add new Lint/RequireRangeParentheses cop. (@koic)
  • #10692: Break long method definitions when auto-correcting. (@Korri)

Bug fixes

  • #10824: Make Lint/DeprecatedClassMethods aware of ENV.clone and ENV.dup. (@koic)
  • #10788: Relax Style/FetchEnvVar to allow ENV[] in LHS of ||. (@j-miyake)
  • #10813: Fix recursive deletion to suppression in Lint/NonAtomicFileOperation. (@ydah)
  • #10791: Fix an incorrect autocorrect for Style/Semicolon when using endless range before semicolon. (@koic)
  • #10781: Fix a suggestions for safer conversions for Lint/NonAtomicFileOperation. (@ydah)
  • #10263: Fix the value of Enabled leaking between configurations. (@jonas054)

Changes

  • #10613: Allow autocorrecting with -P/--parallel and make it the default. (@jonas054)
  • Add EnforcedStyle (leading/trailing) configuration to Layout::LineContinuationLeadingSpace. (@bquorning)
  • #10784: Preserve multiline semantics on Style/SymbolArray and Style/WordArray. (@r7kamura)
  • #10814: Avoid buffering stdout when running in server mode. (@ccutrer)
  • #10817: Add autocorrect support for Style/SafeNavigationChain. (@r7kamura)
  • #10810: Support safe navigation operator on Style/SymbolProc. (@r7kamura)
  • #10803: Require RuboCop AST 1.9.1 or higher. (@koic)

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

Commits

See the full diff on Github. The new version differs by 36 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)