mirror of https://github.com/astral-sh/ruff
Summary -- Another simple one, just detect type parameter lists in functions and classes. Like pyright, we don't emit a second diagnostic for `type` alias statements, which were also introduced in 3.12. Test Plan -- Inline tests. |
||
|---|---|---|
| .. | ||
| snapshots | ||
| fixtures.rs | ||
| generate_inline_tests.rs | ||