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(
268
268
269
269
flat_sig = f"{ name } ({ ', ' .join (pars )} )"
270
270
if len (flat_sig ) > 80 :
271
- indented = [" " * 4 + par for par in pars ]
271
+ indented = [" " * 4 + par + "," for par in pars ]
272
272
sig = "\n " .join ([f"{ name } (" , * indented , ")" ])
273
273
else :
274
274
sig = flat_sig
Original file line number Diff line number Diff line change 5
5
6
6
```python
7
7
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,
11
11
)
12
12
```
13
13
26
26
27
27
```python
28
28
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,
32
32
)
33
33
```
34
34
You can’t perform that action at this time.
0 commit comments