ruff/crates/ty_python_semantic/resources/mdtest/dataclasses
David Peter b6579eaf04
[ty] Disallow assignment to `Final` class attributes (#19457)
## Summary

Emit errors for the following assignments:
```py
class C:
    CLASS_LEVEL_CONSTANT: Final[int] = 1

C.CLASS_LEVEL_CONSTANT = 2
C().CLASS_LEVEL_CONSTANT = 2
```

## Test Plan

Updated and new MD tests
2025-07-21 14:27:56 +02:00
..
dataclass_transform.md [ty] Restructure/move dataclass tests (#19117) 2025-07-03 10:36:14 +00:00
dataclasses.md [ty] Disallow assignment to `Final` class attributes (#19457) 2025-07-21 14:27:56 +02:00
fields.md [ty] Enum literal types (#19328) 2025-07-15 21:31:53 +02:00