Skip to content

Conversation

@robsdedude
Copy link
Contributor

@robsdedude robsdedude commented Jun 24, 2025

Summary

Make FURB164 detect more valid non-finite float literals. E.g., float("  -inF\n \t").

Test Plan

New funky float literals have been added to the test file.

Related

This is a follow up to #18630 fixing an issue I spotted while working that PR

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@robsdedude robsdedude marked this pull request as ready for review June 24, 2025 21:01
@MichaReiser MichaReiser added bug Something isn't working rule Implementing or modifying a lint rule labels Jun 25, 2025
@MichaReiser
Copy link
Member

Thank you

@MichaReiser MichaReiser merged commit 2a0c566 into astral-sh:main Jun 25, 2025
36 checks passed
@robsdedude robsdedude deleted the fix/furb164-detect-exotic-float-literals branch June 25, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working rule Implementing or modifying a lint rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants