-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[verbose-decimal-constructor (FURB157)] doesn't trigger on Decimal("1_000")
#13807
Comments
It seems like the parsing we do here is too naive: ruff/crates/ruff_linter/src/rules/refurb/rules/verbose_decimal_constructor.rs Lines 77 to 98 in 4ecfe95
|
If there are more edge cases that we don't handle, it might be worth just using |
|
Looks like this is the official regex: I can try to take this sometime this weekend (but if I don't, others should feel free to go for it!) |
ruff v0.7.0
The text was updated successfully, but these errors were encountered: