ruff
4cfa3555 - [`ruff`] Exempt `NewType` calls where the original type is immutable (`RUF009`) (#15588)

Comment changes are shownComment changes are hidden
Commit
164 days ago
[`ruff`] Exempt `NewType` calls where the original type is immutable (`RUF009`) (#15588) ## Summary Resolves #6447. ## Test Plan `cargo nextest run` and `cargo insta test`.
Author
Parents
  • crates/ruff_linter
    • resources/test/fixtures/ruff
      • File
        RUF009.py
    • src/rules/ruff
      • rules
        • File
          function_call_in_dataclass_default.rs
      • snapshots
        • ruff_linter__rules__ruff__tests__RUF009_RUF009.py.snap