ruff
Fix leading comment formatting for lambdas with multiple parameters
#21879
Merged

Fix leading comment formatting for lambdas with multiple parameters #21879

ntBre merged 9 commits into main from brent/fix-kwargs
ntBre
ntBre add broken test cases
90f43bde
ntBre avoid breaking when the first parameter has leading comments
b0a82983
ntBre ntBre added internal
ntBre ntBre added formatter
astral-sh-bot
MichaReiser
ntBre
MichaReiser
ntBre
MichaReiser
ntBre
ntBre revert FormatParameters changes
2bd64095
MichaReiser
ntBre
ntBre make comments leading on parameter_s_
d7221557
ntBre simplify check with parameters.start() == parameter.start()
f639389e
ntBre simplify a bit further
9d683da9
ntBre update comments
2da4798d
ntBre remove redundant parameters check
acc49ac1
ntBre update lambda comment
2e0ee2e0
MichaReiser
MichaReiser approved these changes on 2025-12-09
ntBre ntBre marked this pull request as ready for review 2 days ago
ntBre ntBre merged f3714fd3 into main 2 days ago
ntBre ntBre deleted the brent/fix-kwargs branch 2 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone