[refurb] Fix FURB101 and FURB103 false positives when I/O variable is used later by chirizxc · Pull Request #23542 · astral-sh/ruff (original) (raw)

added 2 commits

February 24, 2026 20:06

@chirizxc

@chirizxc

@chirizxc

@chirizxc chirizxc changed the title[refurb] Fix FURB101, FURB103 [refurb] Fix FURB101 and FURB103 false positives when I/O variable is used later

Feb 24, 2026

@chirizxc

@chirizxc chirizxc changed the title[refurb] Fix FURB101 and FURB103 false positives when I/O variable is used later [refurb] Fix FURB101 and FURB103 false positives when I/O variable is used later

Feb 24, 2026

@chirizxc

amyreese

@amyreese amyreese added the fixes

Related to suggested fixes for violations

label

Feb 24, 2026

@chirizxc

@chirizxc

@chirizxc chirizxc marked this pull request as ready for review

February 26, 2026 18:55

amyreese

@amyreese

carljm added a commit that referenced this pull request

Mar 16, 2026

@carljm

nicopauss pushed a commit to Intersec/lib-common that referenced this pull request

Apr 1, 2026

@renovate-bot @nicopauss

Released on 2026-03-19.

Released on 2026-03-12.

Released on 2026-03-05.

Released on 2026-02-26.

This is a follow-up release to 0.15.3 that resolves a panic when the new rule PLR1712 was enabled with any rule that analyzes definitions, such as many of the ANN or D rules.

Released on 2026-02-26.

Released on 2026-02-19.

Released on 2026-02-12.

Released on 2026-02-03.

Check out the blog post for a migration guide and overview of the changes!

The following rules have been stabilized and are no longer in preview:

The following behaviors have been stabilized:

This release introduces the new 2026 style guide, with the following changes:

Renovate-Branch: renovate/2024.6-ruff-0.x Change-Id: I8f8e865435fde1fc736fe2528261a604acb46215 Priv-Id: f7e1d99008e3617149c4b639a9a2bbc06212d064

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})