Commit Graph

10044 Commits

Author SHA1 Message Date
Shantanu
2047b82073 Run primer with 3.13 (#12819) 2024-12-30 16:49:32 -08:00
github-actions[bot]
365b514003 [stubsabot] Bump ibm-db to 3.2.5 (#13348)
Release: https://pypi.org/pypi/ibm-db/3.2.5
Homepage: http://pypi.python.org/pypi/ibm_db/
Repository: https://github.com/ibmdb/python-ibmdb
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/ibm-db
Diff: https://github.com/ibmdb/python-ibmdb/compare/v3.2.4...v3.2.5

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 13.
 - Total lines of Python code deleted: 9.
2024-12-30 16:34:42 -08:00
Axel H.
d634fc2f52 fix(yaml): SafeConstructor.construct_scalar accept MappingNode (#13340) 2024-12-29 18:17:02 -08:00
Ali Hamdan
03167c8cad optparse: Improve Values types (#13338) 2024-12-29 18:16:18 -08:00
Ali Hamdan
7d925307cf optparse: Improve Option and OptionContainer types (#13337)
optparse: Improve Option and OptionContainer types

Also add comments for use of `Any`
2024-12-29 18:14:22 -08:00
Bartosz Sławecki
7febf03741 Make signal global enum constants annotated as literals (#13336) 2024-12-29 18:11:42 -08:00
Refael Ackermann
ca6251ad64 stdlib: new signature for CDLL in 3.12 (#13313) 2024-12-29 17:24:12 -08:00
Avasam
ebc9ff8718 Enable Ruff ARG (flake8-unsued-arguments) and remove unused arguments (#13334) 2024-12-29 17:21:19 -08:00
Stephen Morton
432d8db627 fix gevent.select.poll (#13335)
fixes #13330
2024-12-29 17:19:48 -08:00
github-actions[bot]
1bb8a3a86c [stubsabot] Bump Authlib to 1.4.* (#13329)
Release: https://pypi.org/pypi/Authlib/1.4.0
Repository: https://github.com/lepture/authlib
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/Authlib
Diff: https://github.com/lepture/authlib/compare/v1.3.2...v1.4.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.
 - 5 files included in typeshed's stubs have been modified or renamed: `authlib/consts.py`, `authlib/jose/rfc7517/key_set.py`, `authlib/oauth2/rfc9068/introspection.py`, `authlib/oauth2/rfc9068/revocation.py`, `authlib/oidc/core/grants/util.py`.
 - Total lines of Python code added: 90.
 - Total lines of Python code deleted: 13.
2024-12-29 17:16:55 -08:00
Konstantin Baikov
d69a864a88 Use SupportsWrite in curses instead of IO Any (#13325)
The source used to deduce  this: aea2e03b27/Modules/_cursesmodule.c (L2158)
2024-12-29 17:12:42 -08:00
Ali Hamdan
ce36fd4b8c argparse: Use SupportsWrite instead of IO (#13324) 2024-12-29 17:12:13 -08:00
codekoriko
5a10be14db pyAutoGui: Correct Return Type of position() to Match Actual Behavior (#11267)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-12-29 17:11:14 -08:00
Avasam
a2e4137f65 Remove redundant Bugbear disabling in stubs (#13308) 2024-12-29 17:10:18 -08:00
Avasam
2cdda12df7 Move RUF022+RUF023 ignores to stubs only and remove TODO (#13322)
Move RUF022+RUF023 to stubs only and remove TODO
2024-12-28 19:30:24 +00:00
Stephen Morton
801c5c9495 improve identity of threading module's Lock and RLock (#12966) 2024-12-28 08:00:04 -08:00
Victorien
eb8af63e70 Add stubs for django-import-export (#11709) 2024-12-28 07:56:31 -08:00
Shantanu
ff4237fa24 Match mypy primer comment code (#13318)
These actions diverged, making them more closely match makes it easier
to maintain
2024-12-27 22:40:41 -08:00
James Hilton-Balfe
ab75b691c2 Make collections.abcs more consistent with runtime implementation (#10816)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-12-27 21:31:59 -08:00
Dun L
d2ca658a69 Fix missed type hints in docker containers.pyi (#13136)
Previously, `Container.exec_run` and `Container.get_archive` missed type hints on `cmd` and `path` arguments, respectively.
Added type hints based on docstring.
2024-12-27 21:14:27 -08:00
Stephen Morton
a4b7c36366 add missing things in multiprocessing (#13153) 2024-12-27 21:13:30 -08:00
PyHedgehog
2c27933bbb Add stubs for "click-log" package (#13207) 2024-12-27 21:10:41 -08:00
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