Bump pyright to v1.1.360 (#11810)
Use PEP 570 syntax in third party stubs (#11554)
Update typing_extensions imports in third-party stubs (#11245)
Remove Python 3.7 branches (#11238)
Third-party stubs: remove unused type: ignore
s (#11063)
Update unittest.mock
to 3.12 (#10650)
And harmonise some annotations between the stdlib unittest.mock
module and the third-party mock
backport package.
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
Add a more precise signature for AsyncMock.reset_mock()
(#10481)
Update mock
to 5.1.*
(#10472)
[mock] take an iterable of calls for assert_has_awaits(#10337)
use ParamSpec in patch in mock stubs (#10338)
Add defaults for third-party stubs M-O (#9956)
Stubtest settings: change ignore_missing_stub
default to false
(#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
Use typing_extensions.Self
instead of _typeshed.Self
(#9702)
Add comments when subclassing Any (#9732)
Replace Any
with Incomplete
in many places (#9565)
Replace Any
with Incomplete
in many places (#9558)
Bump mock to 5.0.* (#9423)
Remove mock
from pyright
's exclude (#8942)
Mark mock
as completed (#8919)
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com
Always use TypeAlias
when assigning to Any
(#8021)
mock: Fix unconstrained TypeVar (#7945)
The first overload covers the case where new
is not given.
Part of #7928
Third-party stubs: Improve several __exit__
methods (#7575)
Add mypy error codes to type: ignore
s, remove unused ignores (#7504)
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com
Correct several positional-only differences in third-party stubs (#7352)
Improve __enter__
& constructor methods (#7114)
Reduce use of Any
in equality methods (#7081)
Co-authored-by: Akuli akuviljanen17@gmail.com
Use lowercase type
everywhere (#6853)
Update pyright (#6840)
Fixes for third-party mock package (#6685)
Removed a few unused private classes and methods. They can be re-added if a user reports them missing.
Add mypy error codes to '# type: ignore' comments (#6379)
Use lowercase tuple where possible (#6170)
Add star to all non-0.1 versions (#6146)