feat(python): add "return" patterns to @indent_end

`return ...` is usually the last line of a
function/statement, so mark some possible patterns of `return` with
`@indent_end` to dedent the line after it
This commit is contained in:
Pham Huy Hoang 2023-03-16 19:04:17 +09:00 committed by Stephan Seitz
parent 273d5e9ac5
commit 01e8a51451
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,16 @@
def a():
return
def a():
return True
def a():
return (1, 2, 3)
def a():
return x.y.z
def a():
return (
1, 2, 3
)