Commit Graph

8157 Commits

Author SHA1 Message Date
Shane Smiskol
5e2fe131fa Add missing TCP_USER_TIMEOUT to socket module (#10530) 2023-08-04 21:11:14 +01:00
Nikita Sobolev
81d1362247 Fix asyncio.Task.__init__ signature (#10532) 2023-08-04 15:12:51 +02:00
Shantanu
75c71f324e importlib.metadata: add PathDistribution._path (#10528) 2023-08-01 19:43:51 -07:00
Nikita Sobolev
d62cbb98f4 Remove DateTimeRange stubs (#10525) 2023-08-01 09:15:32 +01:00
Nikita Sobolev
474ad1c70e Remove babel stubs (#10524) 2023-08-01 09:12:33 +01:00
Nikita Sobolev
fe2ebd69af Bump paramiko to 3.3.* (#10522) 2023-07-31 09:07:05 +01:00
Nikita Sobolev
54201d5572 Bump google-cloud-ndb to 2.2.* (#10521)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-07-31 09:04:36 +01:00
Alex Waygood
a079b0de6e Update pyflakes stubs for v3.1.* (#10518) 2023-07-30 15:35:26 -07:00
Alex Waygood
0d8a6bc200 Add more checks in parse_metadata.py for the upstream_repository field (#10513) 2023-07-28 14:04:58 +01:00
Diogo
852882b8bf nargs could be None in argparse.ArgumentParser.add_argument (#10509) 2023-07-26 18:46:40 +01:00
Alex Waygood
f08b87ff18 Fix typechecking of our own test suite following change to dict.get (#10511) 2023-07-26 17:10:40 +01:00
Eugene Toder
e86c61da86 More precise overloads for get/pop methods (#10501)
Fixes #10293

Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-07-26 16:37:32 +01:00
Nikita Sobolev
21e8f7b02b Bump pyright version (#10510)
https://github.com/microsoft/pyright/releases/tag/1.1.319
2023-07-26 09:19:39 +01:00
Sebastian Rittau
47905d2d19 stubsabot: Add stubsabot label to PRs (#10507) 2023-07-25 17:40:11 +02:00
Sebastian Rittau
9b94bd4e5f stubsabot: Add distributions argument (#10505)
[stubsabot] Add distributions argument

This allows to specify which explicitly which distributions to update.
Useful for testing.
2023-07-25 06:40:55 -07:00
Akuli
38dc97ba71 Complete send2trash stubs (#10504) 2023-07-25 13:31:17 +01:00
Sam Bull
b325815f44 Fix type of Future._exception (#10502) 2023-07-24 14:49:13 -07:00
David Salvisberg
21cb2cb546 Adds stubs for uWSGI (#10432)
This adds stubs for the uWSGI Python API.

Similarly to GDB the Python API is only accessible within a uWSGI process, some parts of the API also only exist if certain configuration options are enabled. This makes running stubtest a bit of pain.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2023-07-24 14:32:52 +03:00
Alex Waygood
7d33060e6a Add upstream_repository to metadata for s2clientprotocol (#10500)
These stubs were added yesterday in #10372, and I forgot that we had just added this new metadata field
2023-07-22 20:43:30 +01:00
PyHedgehog
7a00c25959 Add stubs for click-default-group (#9304)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2023-07-22 20:21:37 +01:00
David Salvisberg
81373c1c63 Add stubs for greenlet (#10463)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-07-22 19:23:35 +01:00
Koichi Akabe
53a8932797 Pretend _EnumTypeWrapper inherits from type (#10203)
Pretend `google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper` inherits from `type`. It doesn't really, but this makes type checkers stop complaining when you use it as a metaclass, which is the only reason the class exists.
2023-07-22 15:50:40 +01:00
Jelle Zijlstra
f577c4c133 Update typing_extensions for 4.7.* (#10344) 2023-07-22 12:51:22 +01:00
Alex Waygood
65cb3735ec Bump pytype and ruff test dependencies (#10499) 2023-07-22 12:39:16 +01:00
Alex Waygood
2887f60196 Use ruff, not pycln, for removing unused imports (#10498) 2023-07-22 12:14:27 +01:00
James Braza
464b71c810 Added url: str to http.client.HTTPResponse (#10497) 2023-07-22 01:58:13 +01:00
Jarrett Knauer
33588c7908 Add stubs for s2clientprotocol (#10372) 2023-07-21 17:18:07 +01:00
Alex Waygood
49a2371d7a Auto-add upstream URLs in create_baseline_stubs.py (#10491)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2023-07-21 15:56:53 +01:00
Alex Waygood
5498cabfe2 Bump various test dependencies (#10492) 2023-07-21 00:09:19 +01:00
Akuli
754473a30d Add a few more upstream_repository URLs (#10489) 2023-07-20 17:23:19 +02:00
Sebastian Rittau
26e8b9c68a [stubsabot] Include repository in issue text (#10488)
Also, get GitHub repository for diff from METADATA.toml, instead of
scraping it from PyPI.
2023-07-20 17:22:15 +02:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Nikita Sobolev
3a9b0c5790 Update caldav to 1.3.* (#10485)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-07-20 15:14:32 +01:00
Numerlor
b3eb4b95a2 Change format_exception_only to work with exception value on first/second arg 2023-07-20 14:44:00 +02:00
Alex Waygood
79e092e133 Add some ruff autofixes to CI (#10458) 2023-07-20 14:41:52 +02:00
Sebastian Rittau
a04cb3b058 Add stubs for qrcode (#10380) 2023-07-20 14:36:20 +02:00
Oleg Höfling
4f56889f23 Add stubs for pluggy==1.2.0 (#10473)
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Signed-off-by: Oleg Hoefling <oleg.hoefling@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-07-20 12:50:25 +01:00
Nikita Sobolev
d5c137c0fc py312 updates for array (#10483) 2023-07-20 09:38:58 +01:00
Nikita Sobolev
032f9195f9 Add a more precise signature for AsyncMock.reset_mock() (#10481) 2023-07-19 13:25:20 +01:00
Nikita Sobolev
9e7477d986 Update mock to 5.1.* (#10472) 2023-07-19 13:01:01 +01:00
Nikita Sobolev
8da4739042 Update python-crontab to 3.0.* (#10475) 2023-07-19 13:50:33 +02:00
Jakob Stadler
7dbbdb0193 Fix namespace argument regression in argparse.parse_args (#10387) 2023-07-19 13:35:23 +02:00
Alex Waygood
1088ab3d93 Improve stubs for classmethod and staticmethod (#10421) 2023-07-19 13:32:04 +02:00
Avasam
61914253a0 Type openpyxl functions module and its usages (#10322) 2023-07-19 13:29:31 +02:00
Nikita Sobolev
797779d222 Bump pyright version to 1.1.318 (#10476) 2023-07-19 10:10:22 +02:00
github-actions[bot]
b9d45f2700 [stubsabot] Bump tree-sitter-languages to 1.7.* (#10474)
Release: https://pypi.org/pypi/tree-sitter-languages/1.7.0
Homepage: https://github.com/grantjenks/py-tree-sitter-languages
Diff: https://github.com/grantjenks/py-tree-sitter-languages/compare/v1.6.1...v1.7.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `tree_sitter_languages/__init__.py`.
 - Total lines of Python code added: 3.
 - Total lines of Python code deleted: 1.
2023-07-19 01:24:18 +01:00
Jisuk Byun
60a95da159 Fix unsound return type hints in urllib module (#10470)
* Fix unsound return type hints in urllib module
Closes #10466

* Fix return type of ftplib.FTP.ntransfercmd
Related to #10466
2023-07-18 17:46:28 +01:00
Nikita Sobolev
95b268999c pdb: py312 updates (#10471) 2023-07-18 17:33:27 +01:00
Bruno Cabral
4088b8425f tkinter: Treeview identifiers can be int (#10468) 2023-07-17 23:45:59 +03:00
Alex Waygood
03b4bb9cce Stdlib: add many missing __hash__ and __eq__ methods (#10464) 2023-07-17 14:21:02 +02:00