mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:09:22 +00:00
![]() ## Summary This fixes a number of problems in the formatter that showed up with various files in the [cpython](https://github.com/python/cpython) repository. These problems surfaced as unstable formatting and invalid code. This is not the entirety of problems discovered through cpython, but a big enough chunk to separate it. Individual fixes are generally individual commits. They were discovered with #5055, which i update as i work through the output ## Test Plan I added regression tests with links to cpython for each entry, except for the two stubs that also got comment stubs since they'll be implemented properly later. |
||
---|---|---|
.. | ||
alias.rs | ||
arg.rs | ||
arguments.rs | ||
comprehension.rs | ||
decorator.rs | ||
excepthandler_except_handler.rs | ||
keyword.rs | ||
match_case.rs | ||
mod.rs | ||
type_ignore_type_ignore.rs | ||
withitem.rs |