Format function and class definitions into a single line if its body is an ellipsis #6592
Single-line definition if body is an ellipsis
872409ab
Add comments
70c00534
Handle comments
71cc6d35
tjkuson
marked this pull request as ready for review 2 years ago
Implement clause_body
feb4ea1f
Check for comments
09d6bd72
tjkuson
marked this pull request as draft 2 years ago
Add extra tests
839f2a69
Merge main
f341b551
Add troublesome test
ebea2a94
tjkuson
force pushed
from
57f62709
to
ebea2a94
2 years ago
Check for leading comments
9d8b8326
tjkuson
marked this pull request as ready for review 2 years ago
Support most compound statements
4e5ef073
Add snapshot
c2098c63
Expand tests
68fe3f15
tjkuson
force pushed
from
a9bf9a04
to
68fe3f15
2 years ago
Collapse elif and else branches
69f323af
Collapse case branches
852099d3
Collapse try-except blocks
880920c9
tjkuson
deleted the single-line-ellipsis branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub