Commit Graph

9539 Commits

Author SHA1 Message Date
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
Sebastian Rittau b19d9670f9 Bump setuptools to 72.2.* (#12461)
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-08-20 14:30:08 -04:00
Frazer McLean c5ba20f315 Fix types for python-dateutil's relativedelta (#12561) 2024-08-20 16:45:37 +02:00
kasium 225145cde5 chunk_size parameter of get_image accepts None (#12560) 2024-08-20 13:22:59 +02:00
sobolevn a7ff1be439 Bump cachetools to 5.5.* (#12556) 2024-08-19 14:34:29 +01:00
sobolevn 78ebab7e91 Remove paho-mqtt stubs (#12552) 2024-08-19 13:55:52 +01:00
sobolevn c3497b1672 Remove python-slugify stubs (#12553) 2024-08-19 13:55:19 +01:00
sobolevn 30a20398c9 Pin numpy in various stubs (#12554) 2024-08-19 15:38:23 +03:00
Avasam 937270df0c Forbid extremely long line lengths in non-autogenerated stubs (#12537)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-08-18 16:03:34 -04:00
Sebastian Rittau eca1df49f3 Remove flake8-2020 (#12548) 2024-08-18 12:30:27 +02:00
Peter Bierma eb8e9ddd91 Add stubs for operator.is_none and operator.is_not_none (#12535)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-08-18 00:09:54 +03:00
Max Muoto 82da1e19a7 Use Final in tkinter (#12545) 2024-08-17 22:34:16 +02:00
Max Muoto 9ecd07a669 Use Final for Pre-Defined Hashing Methods in crypt (#12544) 2024-08-17 22:15:05 +02:00