mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 22:55:08 +00:00
Improve dummy_implementations
preview style formatting (#9240)
This commit is contained in:
parent
a06723da2b
commit
9cc257ee7d
6 changed files with 159 additions and 294 deletions
|
@ -253,4 +253,23 @@ if True:
|
|||
# empty line(s) at the end of the file due to nested function
|
||||
if True:
|
||||
def nested_trailing_function():
|
||||
pass
|
||||
pass
|
||||
|
||||
|
||||
def overload1(): ... # trailing comment
|
||||
def overload1(a: int): ...
|
||||
|
||||
def overload2(): ... # trailing comment
|
||||
|
||||
def overload2(a: int): ...
|
||||
|
||||
def overload3():
|
||||
...
|
||||
# trailing comment
|
||||
def overload3(a: int): ...
|
||||
|
||||
def overload4():
|
||||
...
|
||||
# trailing comment
|
||||
|
||||
def overload4(a: int): ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue