chore(deps): update dependency mypy to v1 #28
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/mypy-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^0.971
->^1.16
Release Notes
python/mypy
v1.16.1
Compare Source
v1.16.0
Compare Source
v1.15.0
Compare Source
v1.14.1
Compare Source
v1.14.0
Compare Source
v1.13.0
Compare Source
v1.12.1
Compare Source
os.path
stubs affecting use ofos.PathLike[Any]
(Shantanu, PR 17995)v1.12.0
Compare Source
v1.11.2
Compare Source
TypedDict
item types before storing (Ivan Levkivskyi, PR 17640)v1.11.1
Compare Source
RawExpressionType.accept
crash with--cache-fine-grained
(Anders Kaseorg, PR 17588)typing.TypeAliasType
being undefined on python < 3.12 (Nikita Sobolev, PR 17558)types.GenericAlias
lookup crash (Shantanu, PR 17543)v1.11.0
Compare Source
v1.10.1
Compare Source
v1.10.0
Compare Source
v1.9.0
Compare Source
v1.8.0
Compare Source
v1.7.1
Compare Source
v1.7.0
Compare Source
v1.6.1
Compare Source
v1.6.0
Compare Source
v1.5.1
Compare Source
v1.5.0
Compare Source
v1.4.1
Compare Source
v1.4.0
Compare Source
v1.3.0
Compare Source
v1.2.0
Compare Source
v1.1.1
Compare 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_extensions
if 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.1
Compare Source
v1.0.0
Compare Source
v0.991
Compare Source
v0.990
Compare Source
v0.982
Compare Source
v0.981
Compare Source
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
502c9cd3ca
to28043e55ed
28043e55ed
toc0e668977e
c0e668977e
to0b10e1bbf0
0b10e1bbf0
to06d265611a
06d265611a
tob86f7658e7
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: poetry.lock
b86f7658e7
to9b0976560f
9b0976560f
to7353b78fc9
7353b78fc9
to19f20ba34e
19f20ba34e
toc36a836e74
c36a836e74
toc05953bb20
c05953bb20
to49c55ca541
49c55ca541
to9d564fa2d3
9d564fa2d3
to83207b7886
83207b7886
to83c2a6d3b0
83c2a6d3b0
to5d0b1b6bf3
5d0b1b6bf3
tof32e71e666
f32e71e666
to17bd25dc9c
17bd25dc9c
to393a8e0aa3
393a8e0aa3
to23611215d7
23611215d7
tof9de0b4e75
f9de0b4e75
to148303cb43
Checkout
From your project repository, check out a new branch and test the changes.