ruff
0bf7683a - Avoid `mutable-class-default` violations for Pydantic subclasses (#9187)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Avoid `mutable-class-default` violations for Pydantic subclasses (#9187) Only applies to subclasses defined within the same file, as elsewhere. See: https://github.com/astral-sh/ruff/issues/5243#issuecomment-1860776975.
Author
Parents
  • crates/ruff_linter
    • resources/test/fixtures/ruff
      • File
        RUF012.py
    • src/rules/ruff/rules
      • File
        helpers.rs