terraform-aws-base-networking
terraform-aws-base-networking copied to clipboard
Bump rubocop from 1.65.1 to 1.72.2
Bumps rubocop from 1.65.1 to 1.72.2.
Release notes
Sourced from rubocop's releases.
RuboCop 1.72.2
Bug fixes
- #13853: Fix exclusion of relative paths in plugin's
AllCops: Excludeas expected. (@koic)- #13844: Fix an error for
Style/RedundantFormatwhen a template argument is used without keyword arguments. (@koic)- #13857: Fix an error for
Style/RedundantFormatwhen numeric placeholders is used in the template argument. (@koic)- #13861: Fix
ArgumentErrorrelated to two deprecatedAllowedPatternAPIs. (@koic)- #13849: Fix an error for
Lint/UselessConstantScopingwhen multiple assigning to constants afterprivateaccess modifier. (@koic)- #13856: Fix false positives for
Lint/UselessConstantScopingwhen a constant is used afterprivateaccess modifier with arguments. (@koic)Changes
RuboCop 1.72.1
Bug fixes
- #13836: Fix an error for
Style/RedundantParentheseswhen a different expression appears before a range literal. (@koic)- #13839: Fix false positives for
Lint/RedundantTypeConversionwhen passing block arguments when generating a Hash or a Set. (@koic)Changes
RuboCop 1.72
New features
- #13740: Add new
Lint/CopDirectiveSyntaxcop. ([@kyanagi][])- #13800: Add new
Lint/SuppressedExceptionInNumberConversioncop. (@koic)- #13702: Add new
Lint/RedundantTypeConversioncop. ([@dvandersluis][])- #13831: Add new
Lint/UselessConstantScopingcop. (@koic)- #13793: Add new
Style/RedundantFormatcop to check for uses offormatorsprintfwith only a single string argument. ([@dvandersluis][])- #13581: Add new
InternalAffairs/LocationExistscop to check for code that can be replaced withNode#loc?orNode#loc_is?. ([@dvandersluis][])- #13661: Make server mode detect local paths in .rubocop.yml under
inherit_fromandrequirefor automatically restart. (@koic)- #13721:
Naming/PredicateName: Optionally use Sorbet to detect predicate methods. ([@issyl0][])- #6012: Support RuboCop extension plugin. (
@koic)Bug fixes
- #13807: Fix false negatives for
Style/RedundantParentheseswhen chaining[]method calls. (@koic)- #13788: Fix false negatives for
Style/RedundantParentheseswhen[]method is called with variable or constant receivers. (@koic)- #13811: Fix false negatives for
Style/RedundantParentheseswhen handling range literals with redundant parentheses. (@koic)- #13796: Fix crash in
Layout/EmptyLinesAroundMethodBodyfor endless methods. ([@dvandersluis][])- #13817: Fix false positive for format specifier with non-numeric precision. ([
@dvandersluis][])- #12672: Fix false positives for
Lint/FormatParameterMismatchwhen the width value is interpolated. ([@dvandersluis][])- #12795: Fix
Layout/BlockAlignmentfor blocks that are the body of an endless method. ([@dvandersluis][])
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.72.2 (2025-02-17)
Bug fixes
- #13853: Fix exclusion of relative paths in plugin's
AllCops: Excludeas expected. ([@koic][])- #13844: Fix an error for
Style/RedundantFormatwhen a template argument is used without keyword arguments. ([@koic][])- #13857: Fix an error for
Style/RedundantFormatwhen numeric placeholders is used in the template argument. ([@koic][])- #13861: Fix
ArgumentErrorrelated to two deprecatedAllowedPatternAPIs. ([@koic][])- #13849: Fix an error for
Lint/UselessConstantScopingwhen multiple assigning to constants afterprivateaccess modifier. ([@koic][])- #13856: Fix false positives for
Lint/UselessConstantScopingwhen a constant is used afterprivateaccess modifier with arguments. ([@koic][])Changes
1.72.1 (2025-02-15)
Bug fixes
- #13836: Fix an error for
Style/RedundantParentheseswhen a different expression appears before a range literal. ([@koic][])- #13839: Fix false positives for
Lint/RedundantTypeConversionwhen passing block arguments when generating a Hash or a Set. ([@koic][])Changes
- #13839: Extension plugin is loaded automatically with `require 'rubocop/rspec/support'. ([
@koic][])1.72.0 (2025-02-14)
New features
- #13740: Add new
Lint/CopDirectiveSyntaxcop. ([@kyanagi][])- #13800: Add new
Lint/SuppressedExceptionInNumberConversioncop. ([@koic][])- #13702: Add new
Lint/RedundantTypeConversioncop. ([@dvandersluis][])- #13831: Add new
Lint/UselessConstantScopingcop. ([@koic][])- #13793: Add new
Style/RedundantFormatcop to check for uses offormatorsprintfwith only a single string argument. ([@dvandersluis][])- #13581: Add new
InternalAffairs/LocationExistscop to check for code that can be replaced withNode#loc?orNode#loc_is?. ([@dvandersluis][])- #13661: Make server mode detect local paths in .rubocop.yml under
inherit_fromandrequirefor automatically restart. ([@koic][])- #13721:
Naming/PredicateName: Optionally use Sorbet to detect predicate methods. ([@issyl0][])- #6012: Support RuboCop extension plugin. ([
@koic][])Bug fixes
- #13807: Fix false negatives for
Style/RedundantParentheseswhen chaining[]method calls. ([@koic][])- #13788: Fix false negatives for
Style/RedundantParentheseswhen[]method is called with variable or constant receivers. ([@koic][])- #13811: Fix false negatives for
Style/RedundantParentheseswhen handling range literals with redundant parentheses. ([@koic][])- #13796: Fix crash in
Layout/EmptyLinesAroundMethodBodyfor endless methods. ([@dvandersluis][])- #13817: Fix false positive for format specifier with non-numeric precision. ([
@dvandersluis][])- #12672: Fix false positives for
Lint/FormatParameterMismatchwhen the width value is interpolated. ([@dvandersluis][])- #12795: Fix
Layout/BlockAlignmentfor blocks that are the body of an endless method. ([@dvandersluis][])- #13822: Fix undefined method Logger when processing watched file notifications. ([
@vinistock][])
... (truncated)
Commits
869b5d4Cut 1.72.27c36177Update Changelogd4525d6Correct Style/RedundantParentheses documentation7fc05f8[Fix #13861] FixArgumentErrorrelated to two deprecatedAllowedPatternAPIsaa8c0a9[Fix #13849] Fix an error forLint/UselessConstantScoping241fe6bFix an error forStyle/RedundantFormatb573711[Fix #13856] Fix false positives forLint/UselessConstantScopinge8119f7[Fix #13844] Fix an error forStyle/RedundantFormata807f7cFix exclusion of relative paths in plugin'sAllCops: Excludeas expected28c2fe8[Fix #13850] Fix false negatives forInternalAffairs/ExampleDescription- 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)