Bump mypy to 1.7.0 (#111961)

This commit is contained in:
Alex Waygood 2023-11-10 16:00:50 +00:00 committed by GitHub
parent d61313bdb1
commit 2e7f070080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -3123,9 +3123,7 @@ def add_legacy_c_converter(
if not kwargs:
added_f = f
else:
# mypy's special-casing for functools.partial
# can't quite grapple with this code here
added_f = functools.partial(f, **kwargs) # type: ignore[arg-type]
added_f = functools.partial(f, **kwargs)
if format_unit:
legacy_converters[format_unit] = added_f
return f

View File

@ -1,6 +1,6 @@
# Requirements file for external linters and checks we run on
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
mypy==1.6.1
mypy==1.7.0
# needed for peg_generator:
types-psutil==5.9.5.17