Commit Graph

10122 Commits

Author SHA1 Message Date
PyHedgehog
57d2e045dc Add stubs for "click-web" package (#13208) 2024-12-27 21:08:58 -08:00
Max Muoto
92231a5728 Update tkinter.Misc for 3.13 (#12367) 2024-12-27 20:59:32 -08:00
Stephen Morton
87267342d5 add asyncio.__all__ (#13038) 2024-12-27 20:58:40 -08:00
Stephen Morton
abed9a8b55 Protocol inheritance for typing_extensions.SupportsX classes (#13010)
At runtime, depending on the version of python,
these inherit from typing_extenstions.Protocol
instead of typing.Protocol.
2024-12-27 20:53:44 -08:00
Danny Yang
942350b6c7 Authlib (v2) (#13140)
Co-authored-by: Brian Villemarette <brian.villemarette@trucesoftware.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-12-27 20:49:31 -08:00
Alex Lukas
9424da326c add stubs for nanoleafapi (#11619) 2024-12-27 20:44:41 -08:00
Stephen Morton
4c5f85be88 fixes for unittest.runner (#13205) 2024-12-27 20:09:30 -08:00
Konstantin Baikov
0ce397796c Fix todo in pycocotools (#13182)
Adds numpy types.
All the types were already there as comments.
2024-12-27 20:06:19 -08:00
Stephen Morton
43f637b5e2 add _GeneratorContextManagerBase.__init__ (#13246)
I think that #6676 showed that Paramspec didn't work, but that
wasn't actually the fault of _GeneratorContextManagerBase.
2024-12-27 20:04:57 -08:00
Stephen Morton
b29e26a628 select.poll is not available on windows (#13243) 2024-12-27 20:04:24 -08:00
Antonio Bulgheroni
a581069171 Add return type for get_tables() in peewee (#13230) 2024-12-27 20:03:41 -08:00
Stephen Morton
897b350729 fix deprecated ast classes (#13285) 2024-12-27 20:01:53 -08:00
Jacob Walls
cc65d01b44 Add csv.Dialect to second arg of register_dialect() (#13294) 2024-12-27 20:01:09 -08:00
Shantanu
5b17f78c32 typing: broaden type_check_only TypeVar bound (#13317)
This is needed if we do https://discuss.python.org/t/protocol-classes-should-not-match-callable-proto/75475
2024-12-27 19:56:08 -08:00
Avasam
6c4d9eb5ab Enable Ruff YTT (#13314) 2024-12-27 12:07:18 +00:00
Avasam
773b493b2b Enable more PYI autofixes (#13315) 2024-12-26 21:15:18 -08:00
Avasam
7178fa3356 Use astral-sh/setup-uv to install uv in CI (#13311) 2024-12-26 22:07:59 +00:00
Avasam
dde13fb91d Enable Ruff PGH rules (#13304) 2024-12-26 21:35:34 +00:00
github-actions[bot]
dee35e22bb [stubsabot] Bump Flask-SocketIO to 5.5.* (#13288)
Release: https://pypi.org/pypi/Flask-SocketIO/5.5.0
Homepage: https://github.com/miguelgrinberg/flask-socketio
Repository: https://github.com/miguelgrinberg/flask-socketio
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/Flask-SocketIO
Diff: https://github.com/miguelgrinberg/flask-socketio/compare/v5.4.1...v5.5.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 28.
 - Total lines of Python code deleted: 23.
2024-12-25 18:46:52 -08:00
Stephen Morton
d8822689f7 fix stubs for asyncio.BaseEventLoop.subprocess_exec (#13220) 2024-12-25 14:25:39 -08:00
Alex Waygood
0d4dd20b97 gevent: remove unused allowlist entry (#13301)
Fixes #13300
2024-12-24 17:24:33 -08:00
Alex Waygood
e5804cebab Revert "Remove unnecessary pyright supressions" (#13299)
Revert "Remove unnecessary pyright supressions (#13287)"

This reverts commit 445858c565.
2024-12-25 00:54:56 +00:00
Stephen Morton
e5c5318115 rename ctypes._FuncPtr (#13290)
fixes https://github.com/python/typeshed/issues/13289
2024-12-24 10:16:57 -08:00
Stephen Morton
aaa8a7c47e ssl.Purpose.__new__ comes from Enum (#13237) 2024-12-24 09:48:08 -08:00
Stephen Morton
3944c7839e Add __hash__ for a bunch of types that set it to None (#13286) 2024-12-23 23:16:22 -08:00
Stephen Morton
1f0a86ceb4 add codecs.StreamRecoder attributes (#13291) 2024-12-23 23:14:23 -08:00
Konstantin Baikov
445858c565 Remove unnecessary pyright supressions (#13287) 2024-12-23 20:27:11 -08:00
Stephen Morton
17408ee538 fix the __init__ of several C-classes (#13211) 2024-12-23 10:55:51 -08:00
Danny Yang
bfb9a91950 Flask-socketio 5.5 + add type of kwargs (#13271) 2024-12-23 07:16:45 -08:00
Ali Hamdan
1de78260d9 optparse: Improve Option typing (#13282) 2024-12-23 07:16:00 -08:00
Stephen Morton
ea91db2380 fix update method of WeakKeyDictionary and WeakValueDictionary (#13249) 2024-12-22 16:53:55 -08:00
Stephen Morton
d8b7ad6e89 fixing up ctypes.memmove and ctypes.memset (#13252) 2024-12-22 16:53:03 -08:00
Stephen Morton
e744b2eb34 move numbers.Number.__hash__ and tarfile.TarFile.errors to don't fix (#13254) 2024-12-22 16:50:06 -08:00
Sebastian Rittau
619e8f3680 [fpdf2] Update to 2.8.2 (#13264) 2024-12-22 16:49:46 -08:00
Ali Hamdan
7c0974c0cd optparse: Precise types for OptionParser.add_option_group (#13277)
Precise types for OptionParser.add_option_group

These `*args` and `**kwargs` are forwarded to the `OptionGroup`
constructor with `title` made positional-only here because of
the `args[0]` check at runtime
2024-12-22 16:21:47 -08:00
Kevin Ji
8ad4f1b275 Add new fields to TracebackException, fix cause/context/lineno types (#13231)
These are derived from the TracebackException docs:
https://docs.python.org/3/library/traceback.html#traceback.TracebackException

and the source code:
8b3cccf3f9/Lib/traceback.py (L989)
2024-12-22 16:20:29 -08:00
Ali Hamdan
82352521bf optparse: improve HelpFormatter annotations (#13278) 2024-12-22 16:18:20 -08:00
Ali Hamdan
db3c2cf69d setuptools: Remove problematic private module compat (#13280) 2024-12-22 20:05:11 +00:00
bzoracler
9497f8aebf Remove value attribute from builtins.StopAsyncIteration (#13275) 2024-12-21 12:24:36 -08:00
Stephen Morton
097581ea47 Update to mypy 1.14 (#13272) 2024-12-20 17:29:38 -08:00
Stephen Morton
8e31597fa5 add BaseListProxy.__imul__ (#13266) 2024-12-19 16:04:00 -08:00
Konstantin Baikov
e7a9b83ee7 Fix todo in xmlrpc client (#13124) 2024-12-19 15:28:19 -08:00
Konstantin Baikov
d31e3ea11e Fix tqdm.asyncio type inconsistency (#13259) 2024-12-19 10:48:07 +01:00
Stephen Morton
1964076a8e move a couple deliberate omissions to don't fix (#13267) 2024-12-19 01:11:27 +01:00
Brian Schubert
3157273331 Allow any number of trailing font options in tkinter font description (#13240) 2024-12-19 01:39:57 +02:00
Stephen Morton
bd728fbfae use Literal[_MISSING_TYPE.MISSING] for dataclasses.field defaults (#13256) 2024-12-18 19:21:31 +01:00
Sebastian Rittau
c2a33373cf [vobject] Replace typing.Any with _typeshed.Incomplete (#13265) 2024-12-18 18:59:50 +01:00
Sebastian Rittau
9351a842a3 [vobject] Update to 0.9.9 (#13263)
Update repository URL
2024-12-18 18:45:37 +01:00
Bartosz Sławecki
736db39315 Add missing http.client globals and make all of them literal (#13255) 2024-12-18 17:26:46 +01:00
Konstantin Baikov
54e1c6ad58 Use better return type for inspect.waktree and inspect.getclasstree (#13129) 2024-12-16 22:08:10 +03:00