ruff
be4ce167 - [`ruff`] Skip SQLModel base classes for `mutable-class-default` (`RUF012`) (#14949)

Commit
295 days ago
[`ruff`] Skip SQLModel base classes for `mutable-class-default` (`RUF012`) (#14949) ## Summary Closes https://github.com/astral-sh/ruff/issues/14892, by adding `sqlmodel.SQLModel` to the list of classes with default copy semantics. ## Test Plan Added a test into `RUF012.py` containing the example from the original issue.
Parents
Loading