chore(deps): update mypy to v1.20.2 - #123
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
March 15, 2023 18:04
58c19fa to
debb937
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
April 6, 2023 15:51
debb937 to
a82e28d
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
May 10, 2023 18:51
a82e28d to
9270859
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
June 20, 2023 17:01
9270859 to
fa2041f
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
June 26, 2023 02:26
fa2041f to
04b5b1d
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
4 times, most recently
from
August 13, 2023 07:08
08560b0 to
e419ee1
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
August 16, 2023 20:03
e419ee1 to
ed81dbd
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
October 10, 2023 18:13
ed81dbd to
8b20f26
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
October 18, 2023 09:14
8b20f26 to
f0b4297
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
November 10, 2023 16:10
f0b4297 to
2e1b728
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
November 18, 2023 11:01
2e1b728 to
7a9d7e1
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
November 23, 2023 18:58
7a9d7e1 to
4afefa4
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
December 21, 2023 18:56
4afefa4 to
c6f0959
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
March 8, 2024 17:37
c6f0959 to
f2c93ed
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
October 20, 2024 03:49
33db331 to
8e82ade
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
October 23, 2024 01:10
8e82ade to
d3551b8
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
December 20, 2024 16:01
d3551b8 to
e3b85e4
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
2 times, most recently
from
December 30, 2024 19:23
e0c44f7 to
c0fc2e8
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
February 5, 2025 09:52
c0fc2e8 to
7d57482
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
May 29, 2025 14:44
7d57482 to
f1b38a3
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
June 16, 2025 19:24
f1b38a3 to
3d01c17
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
July 14, 2025 22:11
3d01c17 to
6611265
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
July 31, 2025 11:02
6611265 to
f58a798
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
September 13, 2025 06:08
f58a798 to
392bf0b
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
September 19, 2025 01:56
392bf0b to
54a4b4c
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
November 28, 2025 16:51
54a4b4c to
fe6c78f
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
December 22, 2025 07:00
fe6c78f to
3fe2c45
Compare
renovate
Bot
force-pushed
the
renovate/mypy-1.x
branch
from
April 7, 2026 21:08
3fe2c45 to
40300dc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.0.1→==1.20.2Release Notes
python/mypy (mypy)
v1.20.2Compare Source
v1.20.1Compare Source
dict.__or__typeshed change (Ivan Levkivskyi, PR 21186)type[T]in type calls (Shantanu, PR 21174)Anytyped variables (Shantanu, PR 21142)--warn-unused-configshould not be a strict flag (Ivan Levkivskyi, PR 21139)v1.20.0Compare Source
v1.19.1Compare Source
types.NoneTypein match cases (A5rocks, PR 20383)v1.19.0Compare Source
v1.18.2Compare Source
object.__init__(Stephen Morton, PR 19733)v1.18.1Compare Source
v1.17.1Compare Source
Noneas constraints bottom if no bottoms were provided (Stanislav Terliakov, PR 19485)hasattr" in dmypy (Stanislav Terliakov, PR 19428)v1.17.0Compare Source
v1.16.1Compare Source
v1.16.0Compare Source
v1.15.0Compare Source
v1.14.1Compare Source
v1.14.0Compare Source
v1.13.0Compare Source
v1.12.1Compare Source
os.pathstubs affecting use ofos.PathLike[Any](Shantanu, PR 17995)v1.12.0Compare Source
v1.11.2Compare Source
TypedDictitem types before storing (Ivan Levkivskyi, PR 17640)v1.11.1Compare Source
RawExpressionType.acceptcrash with--cache-fine-grained(Anders Kaseorg, PR 17588)typing.TypeAliasTypebeing undefined on python < 3.12 (Nikita Sobolev, PR 17558)types.GenericAliaslookup crash (Shantanu, PR 17543)v1.11.0Compare Source
v1.10.1Compare Source
v1.10.0Compare Source
v1.9.0Compare Source
v1.8.0Compare Source
v1.7.1Compare Source
v1.7.0Compare Source
v1.6.1Compare Source
v1.6.0Compare Source
v1.5.1Compare Source
v1.5.0Compare Source
v1.4.1Compare Source
v1.4.0Compare Source
v1.3.0Compare Source
v1.2.0Compare Source
v1.1.1Compare Source
Monday, 6 March 2023
We’ve just uploaded mypy 1.1.1 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:
You can read the full documentation for this release on Read the Docs.
Support for `dataclass_transform``
This release adds full support for the dataclass_transform decorator defined in PEP 681. This allows decorators, base classes, and metaclasses that generate a __init__ method or other methods based on the properties of that class (similar to dataclasses) to have those methods recognized by mypy.
This was contributed by Wesley Collin Wright.
Dedicated Error Code for Method Assignments
Mypy can’t safely check all assignments to methods (a form of monkey patching), so mypy generates an error by default. To make it easier to ignore this error, mypy now uses the new error code method-assign for this. By disabling this error code in a file or globally, mypy will no longer complain about assignments to methods if the signatures are compatible.
Mypy also supports the old error code assignment for these assignments to prevent a backward compatibility break. More generally, we can use this mechanism in the future if we wish to split or rename another existing error code without causing backward compatibility issues.
This was contributed by Ivan Levkivskyi (PR 14570).
Fixes to Crashes
Fixes to Cache Corruption
Mypyc Fixes and Improvements
Fixes to Detecting Undefined Names (used-before-def)
Stubgen Improvements
Stubgen is a tool for automatically generating draft stubs for libraries.
Stubtest Improvements
Stubtest is a tool for testing that stubs conform to the implementations.
Changes to Error Reporting and Messages
typing_extensionsif definition is not in typing (Shantanu, PR 14591)Other Fixes and Improvements
Typeshed Updates
Typeshed is now modular and distributed as separate PyPI packages for everything except the standard library stubs. Please see git log for full list of typeshed changes.
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
We’d also like to thank our employer, Dropbox, for funding the mypy core team.
Posted by Max Murin