Bump rubocop from 1.79.2 to 1.80.1
Open
Number: #338
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
September 02, 2025 at 03:12 PM UTC
(9 months ago)
(9 months ago)
Updated:
September 02, 2025 at 03:12 PM UTC
(9 months ago)
(9 months ago)
Labels:
dependencies ruby
dependencies ruby
Description:
Bumps rubocop from 1.79.2 to 1.80.1.
Release notes
Sourced from rubocop's releases.
RuboCop v1.80.1
Bug fixes
- #14479: Don't invalidate cache when
--display-timeoption is used on the CLI. (@lovro-bikic)- #14473: Fix a false negative for
Style/RedundantBeginusingbeginwith multiple statements withoutrescueorensure. (@koic)- #14475: Fix cop errors during autocorrect for the build in LSP when analyzing as Ruby 3.4. (
@earlopain)Changes
- #14474: Fix false negative for
Layout/EndAlignmentwhenendis not on a separate line. (@lovro-bikic)RuboCop v1.80.0
Bug fixes
- #14469: Fix an incorrect autocorrect for
Style/BitwisePredicatewhen using&with LHS flags in conjunction with==for comparisons. (@koic)- #14459: Fix wrong autocorrect for
Style/Forwith save navigation in the collection. (@earlopain)- #14435: Fix false negatives for regexp cops when
Lint/DuplicateRegexpCharacterClassElementis enabled. (@earlopain)- #14419: Fix false positives for
Lint/UselessAssignmentwhen duplicate assignments appear in nestedifbranches inside a loop and the variable is used outsidewhileloop. (@koic)- #14468: Fix false positives for
Naming/MethodNamewhen an operator method is defined using a string. (@koic)- #14427: Fix false positives for
Style/RedundantParentheseswhendo...endblock is wrapped in parentheses as a method argument. (@koic)- #14441: Better hash access handling in
Style/SafeNavigation. (@issyl0)- #14443: Fix false positive in
Layout/EmptyLinesAfterModuleInclusionwhenincludedoes not have exactly one argument. (@issyl0)- #14424: Fix
Style/SafeNavigationcop to preserve existing safe navigation in fixed code. (@martinemde)- #14455: Follow module inclusion with nonzero args with an empty line. (
@issyl0)- #14445: Fix false positives for
Lint/UselessAssignmentwithforloops when the variable is referenced in the collection. (@earlopain)- #14447: Fix wrong autocorrect for
Style/RedundantConditionwith a parenthesised method call in the condition. (@earlopain)Changes
- #14428: Enhance
Lint/SelfAssignmentto handle indexed assignment with multiple arguments. (@viralpraxis)- #14464: Exclude
AutoCorrectandIncludefrom configuration parameters. (@r7kamura)- #14472: Make
Style/RedundantBeginaware ofcasepattern matching. (@koic)- #14448: Register array intersection size checks as offenses under
Style/ArrayIntersect. (@lovro-bikic)- #14431: Support LSP
TextDocumentSyncKind.Incremental. (@tmtm)- #14453: Update
Style/RedundantBeginto registerbeginblocks insideif,unless,case,whileanduntilas redundant. (@dvandersluis)
Changelog
Sourced from rubocop's changelog.
1.80.1 (2025-08-27)
Bug fixes
- #14479: Don't invalidate cache when
--display-timeoption is used on the CLI. ([@lovro-bikic][])- #14473: Fix a false negative for
Style/RedundantBeginusingbeginwith multiple statements withoutrescueorensure. ([@koic][])- #14475: Fix cop errors during autocorrect for the build in LSP when analyzing as Ruby 3.4. ([
@earlopain][])Changes
- #14474: Fix false negative for
Layout/EndAlignmentwhenendis not on a separate line. ([@lovro-bikic][])1.80.0 (2025-08-22)
Bug fixes
- #14469: Fix an incorrect autocorrect for
Style/BitwisePredicatewhen using&with LHS flags in conjunction with==for comparisons. ([@koic][])- #14459: Fix wrong autocorrect for
Style/Forwith save navigation in the collection. ([@earlopain][])- #14435: Fix false negatives for regexp cops when
Lint/DuplicateRegexpCharacterClassElementis enabled. ([@earlopain][])- #14419: Fix false positives for
Lint/UselessAssignmentwhen duplicate assignments appear in nestedifbranches inside a loop and the variable is used outsidewhileloop. ([@koic][])- #14468: Fix false positives for
Naming/MethodNamewhen an operator method is defined using a string. ([@koic][])- #14427: Fix false positives for
Style/RedundantParentheseswhendo...endblock is wrapped in parentheses as a method argument. ([@koic][])- #14441: Better hash access handling in
Style/SafeNavigation. ([@issyl0][])- #14443: Fix false positive in
Layout/EmptyLinesAfterModuleInclusionwhenincludedoes not have exactly one argument. ([@issyl0][])- #14424: Fix
Style/SafeNavigationcop to preserve existing safe navigation in fixed code. ([@martinemde][])- #14455: Follow module inclusion with nonzero args with an empty line. ([
@issyl0][])- #14445: Fix false positives for
Lint/UselessAssignmentwithforloops when the variable is referenced in the collection. ([@earlopain][])- #14447: Fix wrong autocorrect for
Style/RedundantConditionwith a parenthesised method call in the condition. ([@earlopain][])Changes
- #14428: Enhance
Lint/SelfAssignmentto handle indexed assignment with multiple arguments. ([@viralpraxis][])- #14464: Exclude
AutoCorrectandIncludefrom configuration parameters. ([@r7kamura][])- #14472: Make
Style/RedundantBeginaware ofcasepattern matching. ([@koic][])- #14448: Register array intersection size checks as offenses under
Style/ArrayIntersect. ([@lovro-bikic][])- #14431: Support LSP
TextDocumentSyncKind.Incremental. ([@tmtm][])- #14453: Update
Style/RedundantBeginto registerbeginblocks insideif,unless,case,whileanduntilas redundant. ([@dvandersluis][])
Commits
d56f11aCut 1.80.13ac19ebUpdate Changelogf5c5e75Merge pull request #14479 from lovro-bikic/display-time-shouldnt-impact-cached500cc9Prevent display-time CLI option from invalidating cache161ba26Don't use keyword argument forget_processed_sourced7972b6[Fix #14475] Fix cop errors during autocorrect for the buildin LSP when analy...6e5c599Merge pull request #14474 from lovro-bikic/false-negative-end-alignment49b7248Fix false negative for Layout/EndAlignment when end is not on a separate line103f3abMerge pull request #14473 from koic/fix_false_negative_for_style_redundant_begin6b5c6acFix a false negative forStyle/RedundantBegin- 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)
Pull Request Statistics
Commits:
1
1
Files Changed:
1
1
Additions:
+1
+1
Deletions:
-1
-1
Package Dependencies
Technical Details
| ID: | 6667947 |
| UUID: | 2793043608 |
| Node ID: | PR_kwDOBIkbMc6menaY |
| Host: | GitHub |
| Repository: | github/rubocop-github |
| Merge State: | Unknown |