Commit Graph

9551 Commits

Author SHA1 Message Date
Peter Bierma
fb4a92d12b Add stubs for objgraph (#12608)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-09-06 15:27:00 -07:00
danieleades
b48d6f5f74 add type stubs for 'docutils.parsers.rst.directives.references' (#12442) 2024-09-06 15:09:33 -07:00
Avasam
0784bf6bee distutils: add missing generated attributes (#12467) 2024-09-06 15:07:44 -07:00
Niklas Rosenstein
7a2807af4e Fix networkx DiDegreeView.__call__() can return int (#12472)
Fix networkx `DiDegreeView.__call__()`

`DiDegreeView.__call__()` can return an integer if a single node is specified, as is also documented in the docstrings of the method:

89718e0514/networkx/classes/digraph.py (L1198-L1199)

Implementation:

89718e0514/networkx/classes/reportviews.py (L436-L437)
2024-09-06 15:07:25 -07:00
Stephen Finucane
b3774bc22b requests: Session.adapters is a mapping of Adapters (#12473)
Signed-off-by: Stephen Finucane <stephen@that.guru>
2024-09-06 15:05:55 -07:00
Sebastian Rittau
cc45a6e9ba Move BufferedIOBase.raw to sub-classes (#12571) 2024-09-06 15:03:08 -07:00
Sebastian Rittau
a8f09b1d5c [influxdb-client] Use SupportsContainsAndGetItem (#12612) 2024-09-06 14:35:41 -07:00
Raphaël Boudreault
e8ad9437b3 Update MergeFrom annotations in protobuf containers.pyi (#12623) 2024-09-06 14:35:16 -07:00
Anders Kaseorg
3624e534b0 beautifulsoup4: Accept void_element_close_prefix=None (#12621) 2024-09-06 10:36:09 +02:00
Sebastian Rittau
346fef2137 [setuptools] Update to 74.1.* (#12614)
---------

Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-05 10:45:52 -04:00
Gareth Rees
f4da13bfec [python-dateutil] Add dateutil.parser.UnknownTimezoneWarning. (#12620) 2024-09-05 13:18:31 +02:00
renovate[bot]
236ec8e9cf Update dependency pyright to v1.1.379 (#12617)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 02:25:05 +02:00
Sebastian Rittau
6441408aaa Use TypedDict for return type of localeconv() (#12600)
Mark constants as Final in _locale.pyi
2024-09-05 02:13:41 +02:00
Avasam
89e0b691db Enable more Ruff PYI rules with autofixes (#12557) 2024-09-04 19:50:07 -04:00
Adam Dangoor
59f612f514 Add hint for requests.models.Response.raw (#12616) 2024-09-04 12:15:53 +02:00
John Lettman
13e3deb033 Add stubs for xdgenvpy (#12615) 2024-09-04 12:06:28 +02:00
Auguste Lalande
4101e74236 Add stubs for Jetson.GPIO (#12108) 2024-09-02 15:05:51 +02:00
elijahr
4d75bc89ec Redis: Correct ExpiryT alias (#12611) 2024-09-02 08:58:02 +02:00
github-actions[bot]
001c3b6495 [stubsabot] Bump python-datemath to 3.0.* (#12583)
Co-authored-by: stubsabot <>
2024-09-01 18:36:00 +01:00
github-actions[bot]
33295b694e [stubsabot] Bump pyfarmhash to 0.4.* (#12597)
Co-authored-by: stubsabot <>
2024-09-01 18:31:34 +01:00
github-actions[bot]
0f0e71d777 [stubsabot] Bump Flask-Cors to 5.0.* (#12609)
Co-authored-by: stubsabot <>
2024-09-01 18:30:23 +01:00
Tomas R
6b1566d81c Fix signature of CodecInfo.decode (#12610)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-09-01 20:28:13 +03:00
Vito De Tullio
4507d26ef2 curses: mark keypad yes parameter as positional only (#12605)
matches the runtime check: "TypeError: window.keypad() takes no keyword arguments"
2024-09-01 20:20:31 +03:00
Alan Du
23d867efb2 Fix types for psutil.cpu_* functions (#12602) 2024-08-31 13:03:42 +03:00
Avasam
f87041e118 distutils: expose Command.dry_run + make 0|1 attrs bool (#12607) 2024-08-30 18:32:54 +02:00
Andrew Murray
4109c06d07 Added types for atheris (#12462) 2024-08-30 14:36:34 +02:00
Avasam
661fe27658 Bump setuptools to 74.0.* (#12599) 2024-08-29 18:53:16 +02:00
Peter Bierma
1a59cc28ba Add complex arithmetic types to ctypes (#12480) 2024-08-29 17:27:37 +02:00
Max Muoto
63db21eaa0 Add __replace__ for AST and AST subclasses (#12486) 2024-08-29 17:25:54 +02:00
Max Muoto
ad6eed0777 Add _thread.start_joinable_thread and _thread.lock for 3.13 (#12588) 2024-08-29 17:20:02 +02:00
Max Muoto
70e9748f18 Fix _thread.interrupt_main for 3.10+ (#12586) 2024-08-29 17:10:17 +02:00
Sebastian Rittau
039c6bcdb1 Use Self for email.message attachments (#12530)
---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-08-29 10:48:32 -04:00
renovate[bot]
10a083cfb1 Update dependency pyright to v1.1.378 (#12603)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 19:28:12 -07:00
Shamil
f58dac1d62 [Flask-Cors] Mark constants using Final (#12596) 2024-08-27 10:41:39 +02:00
Károly Szabó
257691b5c5 [docker-py] Fix 'volumes' argument type hint for 'run' and 'create' functions in containers.pyi (#12594) 2024-08-26 15:20:02 +02:00
Sebastian Rittau
7c1378cc25 Document policy for future Python versions (#12592)
Closes: #12569
2024-08-25 18:24:08 +02:00
Sebastian Rittau
24abaf0e86 pyserial: Replace IO classes with protocols (#12572) 2024-08-25 17:06:43 +02:00
Shamil
c54f16bdad Add missing constants to flask-cors stubs (#12585) 2024-08-24 18:52:57 +02:00
Avasam
53be87bbb4 Resolve some stubtest allowlist entries by marking params as keyword-only (#12581) 2024-08-23 07:47:06 +01:00
Sebastian Rittau
073b270e55 Update issues numbers for builtins.function (#12580) 2024-08-22 19:20:28 +02:00
Avasam
98af3eb9da Add unittest.runner._WritelnDecorator (#12407) 2024-08-22 09:50:31 +02:00
Sebastian Rittau
7865a78de1 socketserver: Use BufferedIOBase instead of BinaryIO (#12568) 2024-08-21 19:25:06 -07:00
renovate[bot]
2f5c7e2324 Update dependency pyright to v1.1.377 (#12577) 2024-08-22 03:44:34 +02:00
Avasam
3719f02dbf Using precise code for pyright: ignore and re-enabling various pyright tests (#12576) 2024-08-22 03:34:52 +02:00
github-actions[bot]
2404a70f2b [stubsabot] Bump PyScreeze to 1.0.1 (#12566)
Co-authored-by: stubsabot <>
2024-08-21 14:28:06 -04:00
sobolevn
8307b3c362 Bump Markdown to 3.7.* (#12565)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-08-21 18:06:28 +03:00
Sebastian Rittau
7f38b116a0 Remove redundant overloads from IO (#12570) 2024-08-21 15:55:22 +02:00
Kevin Van Brunt
86e74163b9 Fix DatagramRequestHandler.packet type hint. (#12563) 2024-08-21 12:53:49 +02:00
Avasam
fa3ab94f47 Bump setuptools to 73.0.* (#12564) 2024-08-21 12:51:52 +02:00
github-actions[bot]
406d5bcc40 [stubsabot] Bump flake8-bugbear to 24.8.19 (#12567) 2024-08-21 12:40:24 +02:00