Skip to content

Conversation

@chirizxc
Copy link
Contributor

@chirizxc chirizxc commented Nov 14, 2025

Summary

Fixes #21381

Test Plan

cargo nextest run furb103

@astral-sh-bot
Copy link

astral-sh-bot bot commented Nov 14, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+1 -1 violations, +0 -0 fixes in 1 projects; 54 projects unchanged)

astropy/astropy (+1 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --no-fix --output-format concise --preview

+ astropy/io/fits/tests/test_hdulist.py:1130:14: FURB103 [*] `open` and `write` should be replaced by `Path(filename)....`
- astropy/io/fits/tests/test_hdulist.py:1130:14: FURB103 [*] `open` and `write` should be replaced by `Path(filename).write_text("Ceçi ne marche pas", encoding="utf=8")`

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
FURB103 2 1 1 0 0

@amyreese amyreese added fixes Related to suggested fixes for violations bug Something isn't working labels Nov 14, 2025
@amyreese amyreese requested a review from ntBre November 14, 2025 19:04
@MichaReiser MichaReiser merged commit 7a54680 into astral-sh:main Nov 16, 2025
39 checks passed
@chirizxc chirizxc deleted the FURB103 branch November 16, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fixes Related to suggested fixes for violations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preview rule FURB103 reformats multiline strings

3 participants