File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3123,9 +3123,7 @@ def closure(f: CConverterClassT) -> CConverterClassT:
3123
3123
if not kwargs :
3124
3124
added_f = f
3125
3125
else :
3126
- # mypy's special-casing for functools.partial
3127
- # can't quite grapple with this code here
3128
- added_f = functools .partial (f , ** kwargs ) # type: ignore[arg-type]
3126
+ added_f = functools .partial (f , ** kwargs )
3129
3127
if format_unit :
3130
3128
legacy_converters [format_unit ] = added_f
3131
3129
return f
Original file line number Diff line number Diff line change 1
1
# Requirements file for external linters and checks we run on
2
2
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
3
- mypy == 1.6.1
3
+ mypy == 1.7.0
4
4
5
5
# needed for peg_generator:
6
6
types-psutil == 5.9.5.17
You can’t perform that action at this time.
0 commit comments