Commit Graph

21 Commits

Author SHA1 Message Date
Ali Hamdan
c82d29fc76 Bump netaddr to version 1.3 (#12057) 2024-05-29 23:10:54 +02:00
Sebastian Rittau
33de88879f Remove bare Incomplete annotations in third-party stubs (#11671) 2024-03-30 18:34:51 -07:00
Shantanu
88fa182253 Use PEP 570 syntax in third party stubs (#11554) 2024-03-10 14:11:43 +01:00
github-actions[bot]
46b2635626 [stubsabot] Bump netaddr to 1.2.* (#11437)
Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-18 11:57:37 +00:00
github-actions[bot]
ef94b9ee04 [stubsabot] Bump netaddr to 1.1.* (#11424)
Co-authored-by: stubsabot <>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-17 12:51:40 +00:00
Ali Hamdan
0bf3951e54 netaddr: Bump to version 1.0 (#11401)
Closes #11395
2024-02-11 01:50:32 -08:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Ali Hamdan
b56c9f1606 netaddr: Bump to 0.10.* (#11215)
Closes #11211
2024-01-01 19:31:26 +01:00
Avasam
91b35bb5f5 Review SupportsInt and SupportsFloat usages in 3rd-party stubs (#11003) 2023-12-18 14:14:37 +01:00
Screwtapello
49b717ca52 stdlib/xml/sax: Add type annotations (#10606)
* stdlib/xml/sax: Type annotations for commonly used methods.

* stdlib/xml/sax: More annotations.

It turns out SAX's definition of a "qname" is exactly the opposite of
ElementTree's. With that understanding, let's annotate the Attributes*Impl
classes too.

* stdlib/xml/sax: I better understand what AttributesNSImpl is doing now.

* Update third-party library stubs to agree with the new SAX annotations.
2023-09-22 20:08:13 -07:00
Nikita Sobolev
2c05c02b36 Update netaddr to 0.9.0 (#10732) 2023-09-19 12:33:02 +01:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Alex Waygood
2279886964 Style: prefer type[Foo | Bar] over type[Foo] | type[Bar] (#10039) 2023-04-13 11:34:53 +02:00
Alex Waygood
bb7c376142 Add defaults for third-party stubs M-O (#9956) 2023-03-27 19:20:30 +02:00
Avasam
078c6a0958 Update Unused parameters in stubs/ (#9704)
* Update _Unused TypeAlias

* Update `object | None` params

* Replace unused `object` parameters with `Unused` alias
2023-02-21 23:52:52 -08:00
Avasam
ed6748fb32 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.
2023-02-20 22:37:45 +00:00
Alex Waygood
7180d0223b Use typing_extensions.Self instead of _typeshed.Self (#9702) 2023-02-15 11:32:43 +01:00
Avasam
372073d35b Use _typeshed.FileDescriptorOrPath in stubs (#9695) 2023-02-09 08:30:19 +01:00
Alex Waygood
0ef9c3f8e8 Enable flake8-pyi's Y037 (#9686) 2023-02-06 19:01:02 -08:00
Alex Waygood
efee70abfa Bump mypy to 1.0 (#9684) 2023-02-06 15:57:17 -08:00
hamdanal
2c9816e788 Add stubs for netaddr (#9431)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-07 16:22:09 +00:00