Skip to content

Fix for FURB157 removes digit separators #20572

@ntBre

Description

@ntBre

The fix in latest ruff (v0.13.1) converts Decimal("1_000") to Decimal(1000) instead of to Decimal(1_000).

It becomes more problematic for bigger values, where thousand formatting really helps to read a number, like Decimal(15_000_000).

Originally posted by @m-aciek in #13807

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixesRelated to suggested fixes for violations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions