ruff/crates/ruff_linter
Dylan b8dc780bdc
[`refurb`] Further special cases added to `verbose-decimal-constructor (FURB157)` (#14216)
This PR accounts for further subtleties in `Decimal` parsing:

- Strings which are empty modulo underscores and surrounding whitespace
are skipped
- `Decimal("-0")` is skipped
- `Decimal("{integer literal that is longer than 640 digits}")` are
skipped (see linked issue for explanation)

NB: The snapshot did not need to be updated since the new test cases are
"Ok" instances and added below the diff.

Closes #14204
2024-11-08 21:08:22 -05:00
..
resources [`refurb`] Further special cases added to `verbose-decimal-constructor (FURB157)` (#14216) 2024-11-08 21:08:22 -05:00
src [`refurb`] Further special cases added to `verbose-decimal-constructor (FURB157)` (#14216) 2024-11-08 21:08:22 -05:00
Cargo.toml Bump version to 0.7.3 (#14197) 2024-11-08 16:39:37 +05:30
__init__.py [`pylint`] (Re-)Implement `import-private-name` (`C2701`) (#9553) 2024-01-16 14:03:11 -05:00