Commit ff0d65b
committed
fix: correct post_call typevar in annotate_logs overload + docstring typos
- In the 'Instance False, Requested True, Provided True' overload of
annotate_logs, post_call used PostCall[S2, P2] while all 21 other
overloads and the implementation signature use PostCall[S2, P3]. This
was inconsistent with the rest of the type signature and broke type
hinting for that specific overload.
- Fix two docstring typos in plugins.py: 'excaption' -> 'exception' and
'fixs' -> 'fixes' in BasePlugin.uncaught_exception and
RenamerPlugin/NameAdjusterPlugin __init__ docstrings.1 parent 77ef2ee commit ff0d65b
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments