mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Similarly to how it's done for Java and other languages parameters are wrapped and aligned always if there are more than one of them. Also, the need to wrap the return type annotation is detected naively by checking whether the length of the last line containing it exceeds 80 characters.
4 lines
179 B
Python
4 lines
179 B
Python
from typing import Optional
|
|
def maybe<the_ref>_add_numbers(a: Optional[int], b: Optional[int], c: Optional[int],
|
|
d: Optional[int]) -> Optional[int]:
|
|
pass |