microsoft / pyright

Static Type Checker for Python
Other
13.32k stars 1.45k forks source link

Allow `Final` and `ClassVar` to be combined in both directions within… #8678

Closed erictraut closed 2 months ago

erictraut commented 2 months ago

… a dataclass. Previously, the Final qualifier needed to be the outermost. This addresses #8676.

github-actions[bot] commented 2 months ago

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅