File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ def signature(
268268
269269 flat_sig = f"{ name } ({ ', ' .join (pars )} )"
270270 if len (flat_sig ) > 80 :
271- indented = [" " * 4 + par for par in pars ]
271+ indented = [" " * 4 + par + "," for par in pars ]
272272 sig = "\n " .join ([f"{ name } (" , * indented , ")" ])
273273 else :
274274 sig = flat_sig
Original file line number Diff line number Diff line change 55
66 ```python
77 tests.example_signature.a_complex_signature(
8- x: list[C | int | None]
9- y: pathlib.Pathlib
10- z
8+ x: list[C | int | None],
9+ y: pathlib.Pathlib,
10+ z,
1111 )
1212 ```
1313
2626
2727 ```python
2828 tests.example_signature.a_complex_signature(
29- x: list[C | int | None]
30- y: pathlib.Pathlib
31- z
29+ x: list[C | int | None],
30+ y: pathlib.Pathlib,
31+ z,
3232 )
3333 ```
3434
You can’t perform that action at this time.
0 commit comments