dep: bump rubocop from 1.45.1 to 1.46.0
Bumps rubocop from 1.45.1 to 1.46.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.46
New features
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
whenp
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
whenrescue
does not exception variable andensure
has empty body. (@koic
)- #11608: Fix an error for
Lint/RefinementImportMethods
when usinginclude
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
inStyle/DocumentationMethod
cop. (@fatkodima
)- #11604: Make
Naming/VariableNumber
to allowx86_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
)
Changelog
Sourced from rubocop's changelog.
1.46.0 (2023-02-22)
New features
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
whenp
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
whenrescue
does not exception variable andensure
has empty body. ([@koic
][])- #11608: Fix an error for
Lint/RefinementImportMethods
when usinginclude
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
inStyle/DocumentationMethod
cop. ([@fatkodima
][])- #11604: Make
Naming/VariableNumber
to allowx86_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
][])
Commits
-
be57c6d
Cut 1.46 -
4442453
Update Changelog -
28f8fb3
[Fix #11591] Fix a false positive forLint/ToEnumArguments
-
87c7e69
Fix an error forLayout/HeredocArgumentClosingParenthesis
-
df7c4cd
[Fix #11596] MakeStyle/AccessorGrouping
aware of method call before accessor -
efce268
Actually run temporarily enabled cops -
52e8e4f
Fix checking if token with large offset begins its line -
c9630bc
Fix an error forLint/RefinementImportMethods
-
48b2a32
Fix parentheses in value omissions for multiple assignments -
d16167e
Add newInternalAffairs/ProcessedSourceBufferName
cop - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts