mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-21 07:42:05 +00:00
![]() ## Summary Format import statements in all their variants. Specifically, this implemented formatting `StmtImport`, `StmtImportFrom` and `Alias`. ## Test Plan I added some custom snapshots, even though this has been covered well by black's tests. |
||
---|---|---|
.. | ||
alias.rs | ||
arg.rs | ||
arg_with_default.rs | ||
arguments.rs | ||
comprehension.rs | ||
decorator.rs | ||
except_handler_except_handler.rs | ||
identifier.rs | ||
keyword.rs | ||
match_case.rs | ||
mod.rs | ||
type_ignore_type_ignore.rs | ||
with_item.rs |