ruff
Format function and class definitions into a single line if its body is an ellipsis
#6592
Merged

Format function and class definitions into a single line if its body is an ellipsis #6592

tjkuson
tjkuson Single-line definition if body is an ellipsis
872409ab
tjkuson Add comments
70c00534
tjkuson Handle comments
71cc6d35
tjkuson tjkuson marked this pull request as ready for review 2 years ago
github-actions
MichaReiser
MichaReiser commented on 2023-08-15
tjkuson Implement clause_body
feb4ea1f
tjkuson Check for comments
09d6bd72
charliermarsh charliermarsh added formatter
MichaReiser
MichaReiser requested changes on 2023-08-17
tjkuson tjkuson marked this pull request as draft 2 years ago
tjkuson Add extra tests
839f2a69
tjkuson Merge main
f341b551
MichaReiser
tjkuson
MichaReiser
tjkuson Add troublesome test
ebea2a94
tjkuson tjkuson force pushed from 57f62709 to ebea2a94 2 years ago
tjkuson Check for leading comments
9d8b8326
tjkuson tjkuson marked this pull request as ready for review 2 years ago
tjkuson tjkuson requested a review from MichaReiser MichaReiser 2 years ago
tjkuson Support most compound statements
4e5ef073
tjkuson Add snapshot
c2098c63
tjkuson Expand tests
68fe3f15
tjkuson tjkuson force pushed from a9bf9a04 to 68fe3f15 2 years ago
tjkuson
MichaReiser
MichaReiser approved these changes on 2023-08-18
MichaReiser
MichaReiser
MichaReiser commented on 2023-08-18
tjkuson Collapse elif and else branches
69f323af
tjkuson Collapse case branches
852099d3
MichaReiser
tjkuson Collapse try-except blocks
880920c9
MichaReiser MichaReiser merged 2a8d24dd into main 2 years ago
tjkuson tjkuson deleted the single-line-ellipsis branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone