ruff
5ab95385 - Improve `type-name-incorrect-variance` message (#5658)

Commit
2 years ago
Improve `type-name-incorrect-variance` message (#5658) ## Summary Change the `type-name-incorrect-variance` diagnostic message to include the detected variance and a name change recommendation. For example, ``` `TypeVar` name "T_co" does not reflect its contravariance; consider renaming it to "T_contra" ``` Related to #5651. ## Test Plan `cargo test`
Author
Parents
Loading