diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2024-10-16 14:27:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 14:27:19 (GMT) |
commit | d83fcf8371f2f33c7797bc8f5423a8bca8c46e5c (patch) | |
tree | 98f70749344607a8ce03ce5f1983a0ed3a46814e /Tools/clinic | |
parent | e4d90be84536746a966478acc4c0cf43a201f492 (diff) | |
download | cpython-d83fcf8371f2f33c7797bc8f5423a8bca8c46e5c.zip cpython-d83fcf8371f2f33c7797bc8f5423a8bca8c46e5c.tar.gz cpython-d83fcf8371f2f33c7797bc8f5423a8bca8c46e5c.tar.bz2 |
CI: Bump Python to 3.13 and mypy to 1.12 in mypy workflow (#125592)
* Bump mypy to 1.12 & Python to 3.13
* Remove unnecessary `type: ignore`
Diffstat (limited to 'Tools/clinic')
-rw-r--r-- | Tools/clinic/libclinic/converter.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/clinic/libclinic/converter.py b/Tools/clinic/libclinic/converter.py index 2abf06d..86853bb 100644 --- a/Tools/clinic/libclinic/converter.py +++ b/Tools/clinic/libclinic/converter.py @@ -545,9 +545,7 @@ def add_legacy_c_converter( if not kwargs: added_f = f else: - # type ignore due to a mypy regression :( - # https://github.com/python/mypy/issues/17646 - added_f = functools.partial(f, **kwargs) # type: ignore[misc] + added_f = functools.partial(f, **kwargs) if format_unit: legacy_converters[format_unit] = added_f return f |