mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-22 19:39:58 +00:00
![]() Summary -- Another simple one, just detect standalone `type` statements. I limited the diagnostic to `type` itself like [pyright]. That probably makes the most sense for more complicated examples. Test Plan -- Inline tests. [pyright]: https://pyright-play.net/?pythonVersion=3.8&strict=true&code=C4TwDgpgBAHlC8UCWA7YQ |
||
---|---|---|
.. | ||
snapshots | ||
expression.rs | ||
helpers.rs | ||
mod.rs | ||
options.rs | ||
pattern.rs | ||
progress.rs | ||
recovery.rs | ||
statement.rs | ||
tests.rs |