terraform-aws-base-networking
terraform-aws-base-networking copied to clipboard
Bump rubocop from 1.65.1 to 1.66.1
Bumps rubocop from 1.65.1 to 1.66.1.
Release notes
Sourced from rubocop's releases.
RuboCop 1.66.1
Bug fixes
- #13191: Fix an error for
Style/IfWithSemicolonwhen using nested single-line if/;/end in block of if/else branches. (@koic)- #13178: Fix false positive for
Style/EmptyLiteralwithHash.new([]). (@earlopain)- #13176: Fix crash in
Style/EmptyElsewhenAllowComments: trueand the else clause is missing. (@vlad-pisanov)- #13185: Fix false negatives in
Style/MapIntoArrayautocorrection when usingensure,def,defsandfor. (@vlad-pisanov)RuboCop 1.66
New features
- #13077: Add new global
StringLiteralsFrozenByDefaultoption for correct analysis withRUBYOPT=--enable=frozen-string-literal. (@earlopain)- #13080: Add new
DocumentationExtensionglobal option to serve documentation with extensions different than.html. (@earlopain)- #13074: Add new
Lint/UselessNumericOperationcop to check for inconsequential numeric operations. ([@zopolis4][])- #13061: Add new
Style/RedundantInterpolationUnfreezecop to check fordupand@+on interpolated strings in Ruby >= 3.0. (@earlopain)Bug fixes
- #13093: Fix an error for
Lint/ImplicitStringConcatenationwhen implicitly concatenating a string literal with a line break and string interpolation. (@koic)- #13098: Fix an error for
Style/IdenticalConditionalBrancheswhen handling empty case branches. (@koic)- #13113: Fix an error for
Style/IfWithSemicolonwhen a nestedifwith a semicolon is used. (@koic)- #13097: Fix an error for
Style/InPatternThenwhen using alternative pattern matching deeply. (@koic)- #13159: Fix an error for
Style/OneLineConditionalwhen using if/then/else/end with multiple expressions in thethenbody. (@koic)- #13092: Fix an incorrect autocorrect for
Layout/EmptyLineBetweenDefswhen two method definitions are on the same line separated by a semicolon. (@koic)- #13116: Fix an incorrect autocorrect for
Style/IfWithSemicolonwhen a single-lineif/;/endhas an argument in the then body expression. (@koic)- #13161: Fix incorrect autocorrect for
Style/IfWithSemicolonwhen using multiple expressions in theelsebody. (@koic)- #13132: Fix incorrect autocorrect for
Style/TrailingBodyOnMethodDefinitionwhen an expression precedes a method definition on the same line with a semicolon. (@koic)- #13164: Fix incorrect autocorrect behavior for
Layout/BlockAlignmentwhenEnforcedStyleAlignWith: either (default). (@koic)- #13087: Fix an incorrect autocorrect for
Style/MultipleComparisonwhen expression with more comparisons precedes an expression with less comparisons. ([@fatkodima][])- #13172: Fix an error for
Layout/EmptyLinesAroundExceptionHandlingKeywordswhenensureorelseandendare on the same line. (@koic)- #13107: Fix an error for
Lint/ImplicitStringConcatenationwhen there are multiple adjacent string interpolation literals on the same line. (@koic)- #13111: Fix an error for
Style/GuardClausewhen if clause is empty and correction would not fit on single line because ofLayout/LineLength. (@earlopain)- #13137: Fix an error for
Style/ParallelAssignmentwhen using__FILE__. (@earlopain)- #13143: Fix an error during
TargetRubyVersiondetection if the gemspec is not valid syntax. (@earlopain)- #13131: Fix false negatives for
Lint/Voidwhen usingensure,defsandnumblock. (@vlad-pisanov)- #13174: Fix false negatives for
Style/MapIntoArraywhen initializing the destination usingArray[],Array([]), orArray.new([]). (@vlad-pisanov)- #13173: Fix false negatives for
Style/EmptyLiteralwhen usingArray[],Hash[],Array.new([])andHash.new([]). (@vlad-pisanov)- #13126: Fix a false positive for
Style/Aliaswhen using multiplealiasindef. (@koic)- #13085: Fix a false positive for
Style/EmptyElsewhen a comment-onlyelseis used afterelsifandAllowComments: trueis set. (@koic)- #13118: Fix a false positive for
Style/MapIntoArraywhen splatting. (@earlopain)- #13105: Fix false positives for
Style/ArgumentsForwardingwhen forwarding kwargs/block arg with non-matching additional args. (@koic)- #13139: Fix false positives for
Style/RedundantConditionwhen using modifieriforunless. (@koic)- #13134: Fix false negative for
Lint/Voidwhen using using frozen literals. (@vlad-pisanov)- #13148: Fix incorrect autocorrect for
Lint/EmptyConditionalBodywhen missingelsifbody withendon the same line. (@koic)- #13109: Fix an error for the
Lockfileparser when it contains incompatibleBUNDLED WITHversions. (@earlopain)- #13112: Fix detection of
TargetRubyVersionthrough the gemfile if the gemfile ruby version is below 2.7. (@earlopain)
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.66.1 (2024-09-04)
Bug fixes
- #13191: Fix an error for
Style/IfWithSemicolonwhen using nested single-line if/;/end in block of if/else branches. ([@koic][])- #13178: Fix false positive for
Style/EmptyLiteralwithHash.new([]). ([@earlopain][])- #13176: Fix crash in
Style/EmptyElsewhenAllowComments: trueand the else clause is missing. ([@vlad-pisanov][])- #13185: Fix false negatives in
Style/MapIntoArrayautocorrection when usingensure,def,defsandfor. ([@vlad-pisanov][])1.66.0 (2024-08-31)
New features
- #13077: Add new global
StringLiteralsFrozenByDefaultoption for correct analysis withRUBYOPT=--enable=frozen-string-literal. ([@earlopain][])- #13080: Add new
DocumentationExtensionglobal option to serve documentation with extensions different than.html. ([@earlopain][])- #13074: Add new
Lint/UselessNumericOperationcop to check for inconsequential numeric operations. ([@zopolis4][])- #13061: Add new
Style/RedundantInterpolationUnfreezecop to check fordupand@+on interpolated strings in Ruby >= 3.0. ([@earlopain][])Bug fixes
- #13093: Fix an error for
Lint/ImplicitStringConcatenationwhen implicitly concatenating a string literal with a line break and string interpolation. ([@koic][])- #13098: Fix an error for
Style/IdenticalConditionalBrancheswhen handling empty case branches. ([@koic][])- #13113: Fix an error for
Style/IfWithSemicolonwhen a nestedifwith a semicolon is used. ([@koic][])- #13097: Fix an error for
Style/InPatternThenwhen using alternative pattern matching deeply. ([@koic][])- #13159: Fix an error for
Style/OneLineConditionalwhen using if/then/else/end with multiple expressions in thethenbody. ([@koic][])- #13092: Fix an incorrect autocorrect for
Layout/EmptyLineBetweenDefswhen two method definitions are on the same line separated by a semicolon. ([@koic][])- #13116: Fix an incorrect autocorrect for
Style/IfWithSemicolonwhen a single-lineif/;/endhas an argument in the then body expression. ([@koic][])- #13161: Fix incorrect autocorrect for
Style/IfWithSemicolonwhen using multiple expressions in theelsebody. ([@koic][])- #13132: Fix incorrect autocorrect for
Style/TrailingBodyOnMethodDefinitionwhen an expression precedes a method definition on the same line with a semicolon. ([@koic][])- #13164: Fix incorrect autocorrect behavior for
Layout/BlockAlignmentwhenEnforcedStyleAlignWith: either (default). ([@koic][])- #13087: Fix an incorrect autocorrect for
Style/MultipleComparisonwhen expression with more comparisons precedes an expression with less comparisons. ([@fatkodima][])- #13172: Fix an error for
Layout/EmptyLinesAroundExceptionHandlingKeywordswhenensureorelseandendare on the same line. ([@koic][])- #13107: Fix an error for
Lint/ImplicitStringConcatenationwhen there are multiple adjacent string interpolation literals on the same line. ([@koic][])- #13111: Fix an error for
Style/GuardClausewhen if clause is empty and correction would not fit on single line because ofLayout/LineLength. ([@earlopain][])- #13137: Fix an error for
Style/ParallelAssignmentwhen using__FILE__. ([@earlopain][])- #13143: Fix an error during
TargetRubyVersiondetection if the gemspec is not valid syntax. ([@earlopain][])- #13131: Fix false negatives for
Lint/Voidwhen usingensure,defsandnumblock. ([@vlad-pisanov][])- #13174: Fix false negatives for
Style/MapIntoArraywhen initializing the destination usingArray[],Array([]), orArray.new([]). ([@vlad-pisanov][])- #13173: Fix false negatives for
Style/EmptyLiteralwhen usingArray[],Hash[],Array.new([])andHash.new([]). ([@vlad-pisanov][])- #13126: Fix a false positive for
Style/Aliaswhen using multiplealiasindef. ([@koic][])- #13085: Fix a false positive for
Style/EmptyElsewhen a comment-onlyelseis used afterelsifandAllowComments: trueis set. ([@koic][])- #13118: Fix a false positive for
Style/MapIntoArraywhen splatting. ([@earlopain][])- #13105: Fix false positives for
Style/ArgumentsForwardingwhen forwarding kwargs/block arg with non-matching additional args. ([@koic][])- #13139: Fix false positives for
Style/RedundantConditionwhen using modifieriforunless. ([@koic][])- #13134: Fix false negative for
Lint/Voidwhen using using frozen literals. ([@vlad-pisanov][])- #13148: Fix incorrect autocorrect for
Lint/EmptyConditionalBodywhen missingelsifbody withendon the same line. ([@koic][])- #13109: Fix an error for the
Lockfileparser when it contains incompatibleBUNDLED WITHversions. ([@earlopain][])- #13112: Fix detection of
TargetRubyVersionthrough the gemfile if the gemfile ruby version is below 2.7. ([@earlopain][])- #13155: Fixes an error when the server cache directory has too long path, causing rubocop to fail even with caching disabled. ([
@protocol7][])
... (truncated)
Commits
ba8e7beCut 1.66.12900c91Update Changelog08bed81Fix an error forStyle/IfWithSemicolonc2ae362Don't parse YAML twice5f3481fUserubocop-astSimpleForwardable5e65a39Merge pull request #13185 from vlad-pisanov/vp_map_into_array_2d18b3c9Fix false negatives inStyle/MapIntoArrayautocorrection when using `ensure...3277118[Fix #13182] Tweak the doc forStyle/RedundantInterpolationUnfreeze9a38b11Merge pull request #13179 from Earlopain/node-matcher-directiry-errorfd4f4d7Fix an error forInternalAffairs/NodeMatcherDirectivewhen no second argument- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)