Closed
Description
Describe the bug
If the first line inside an indented function is empty and the body is ...
, black fails to format it.
class C:
def f(self):
...
Expected behavior
The snippet above can be formatted.
Environment
- Black's version: Stable: 24.1.0 | Main: @ed770b
- OS and Python version: irrelevant
Additional context
None.
Edit
Function body being ...
is a key condition.
Activity