Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@chirizxc
Copy link
Contributor

@chirizxc chirizxc commented Nov 3, 2025

Summary

Fixes #21257

Test Plan

cargo nextest run furb164

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre added fixes Related to suggested fixes for violations preview Related to preview mode features labels Nov 3, 2025
Copy link
Contributor

@ntBre ntBre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! It would be kind of nice if we could use our limited type inference infrastructure to check Decimal types for annotated variables and not just the direct constructor calls, but this seems like a good step in the right direction.

@ntBre ntBre changed the title [refurb] Fix FURB164 fixes [refurb] Expand fix safety for keyword arguments and Decimals (FURB164) Nov 3, 2025
@ntBre ntBre merged commit 79a0271 into astral-sh:main Nov 3, 2025
39 checks passed
@chirizxc chirizxc deleted the furb164 branch November 4, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixes Related to suggested fixes for violations preview Related to preview mode features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FURB164 fixes should be safe in a few cases

2 participants