Open
Conversation
a94d815 to
64e2271
Compare
64e2271 to
4e6919a
Compare
4e6919a to
d18c22e
Compare
944950a to
0e3dac5
Compare
2d96aae to
47763dd
Compare
47763dd to
9854175
Compare
9854175 to
e1bcdda
Compare
e1bcdda to
f107de3
Compare
f107de3 to
b455411
Compare
b455411 to
6a7f8fd
Compare
6a7f8fd to
edfe72b
Compare
edfe72b to
ef40ebd
Compare
ef40ebd to
39e11a1
Compare
39e11a1 to
ce15d16
Compare
ce15d16 to
5dcb7fd
Compare
5dcb7fd to
17cef14
Compare
c59d209 to
8b3756d
Compare
8b3756d to
5cb1cc3
Compare
5cb1cc3 to
37dff90
Compare
37dff90 to
7cb9cfd
Compare
7cb9cfd to
0a2b53b
Compare
0a2b53b to
1a25f17
Compare
1a25f17 to
6aec4f8
Compare
6aec4f8 to
75170c2
Compare
75170c2 to
ff398de
Compare
ff398de to
8998c74
Compare
8998c74 to
bbabbf2
Compare
bbabbf2 to
9bb0226
Compare
9bb0226 to
cc3d3e4
Compare
cc3d3e4 to
393ea0f
Compare
393ea0f to
d9c4988
Compare
d9c4988 to
6246e52
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:
==0.991→==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
v1.0.1Compare Source
v1.0.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.