summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/clinic/libclinic/converter.py4
-rw-r--r--Tools/requirements-dev.txt2
2 files changed, 4 insertions, 2 deletions
diff --git a/Tools/clinic/libclinic/converter.py b/Tools/clinic/libclinic/converter.py
index 86853bb..2abf06d 100644
--- a/Tools/clinic/libclinic/converter.py
+++ b/Tools/clinic/libclinic/converter.py
@@ -545,7 +545,9 @@ def add_legacy_c_converter(
if not kwargs:
added_f = f
else:
- added_f = functools.partial(f, **kwargs)
+ # type ignore due to a mypy regression :(
+ # https://github.com/python/mypy/issues/17646
+ added_f = functools.partial(f, **kwargs) # type: ignore[misc]
if format_unit:
legacy_converters[format_unit] = added_f
return f
diff --git a/Tools/requirements-dev.txt b/Tools/requirements-dev.txt
index de8496a..cbf4072 100644
--- a/Tools/requirements-dev.txt
+++ b/Tools/requirements-dev.txt
@@ -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.10.1
+mypy==1.11.1
# needed for peg_generator:
types-psutil==6.0.0.20240621