Revert "[ty] Use invalid-assignment error code for invalid assignments to ClassVars" by AlexWaygood · Pull Request #20158 · astral-sh/ruff (original) (raw)

@AlexWaygood

…nts to `…"

This reverts commit 9b1b58a.

@AlexWaygood AlexWaygood deleted the revert-20156-alex/classvar-assignment-code branch

August 29, 2025 18:48

dcreager added a commit that referenced this pull request

Sep 2, 2025

@dcreager

second-ed pushed a commit to second-ed/ruff that referenced this pull request

Sep 9, 2025

@AlexWaygood @second-ed

…nts to ClassVars" (astral-sh#20158)

Reverts astral-sh#20156. As @sharkdp noted in his post-merge review, there were several issues with that PR that I didn't spot before merging — but I'm out for four days now, and would rather not leave things in an inconsistent state for that long. I'll revisit this on Wednesday.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})