Skip to content

Commit 5207adf

Browse files
build(deps-dev): bump mypy from 1.10.1 to 1.11.1 in /Tools (#122550)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <[email protected]>
1 parent d0b92dd commit 5207adf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Tools/clinic/libclinic/converter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,9 @@ def closure(f: CConverterClassT) -> CConverterClassT:
545545
if not kwargs:
546546
added_f = f
547547
else:
548-
added_f = functools.partial(f, **kwargs)
548+
# type ignore due to a mypy regression :(
549+
# https://github.com/python/mypy/issues/17646
550+
added_f = functools.partial(f, **kwargs) # type: ignore[misc]
549551
if format_unit:
550552
legacy_converters[format_unit] = added_f
551553
return f

Tools/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Requirements file for external linters and checks we run on
22
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
3-
mypy==1.10.1
3+
mypy==1.11.1
44

55
# needed for peg_generator:
66
types-psutil==6.0.0.20240621

0 commit comments

Comments
 (0)