Commit Graph

10751 Commits

Author SHA1 Message Date
Alex Waygood 8c36a53e44 Use stricter pyright settings when testing channels (#14404) 2025-07-12 15:46:13 +01:00
Hunter Hogan 1880490289 Change ast.MatchSingleton.value from Literal[True, False] to bool (#14400)
This is the only annotation in typeshed that uses `Literal[True, False]`. The most similar annotations are `Literal[True, 1]`. 371 annotations are `bool | None`.
2025-07-11 15:55:46 -07:00
Huy Nguyen 844e132d1e Django channels stubs (#13939) 2025-07-11 19:59:58 +02:00
Sebastian Rittau d5af6bee35 Clean up deprecated ast.Constant aliases (#14397)
Add `__new__`, remove fields, mark deprecated `Constant` fields as such.
2025-07-11 14:59:53 +02:00
Semyon Moroz c1299e3a35 Reminder to remove library from pyrightconfig (#14377) 2025-07-11 13:43:03 +02:00
Nate England 126b06fc32 Correct type hints for networkx/algorithms/flow/mincost.pyi (#14395) 2025-07-11 11:33:33 +02:00
Semyon Moroz df3b5f3cdd [PyMySQL] Fix issue with import constants attributes (#14393) 2025-07-10 13:56:51 +02:00
Semyon Moroz 1164c0f9e8 [jmespath] Remove from pyrightconfig (#14378) 2025-07-10 13:26:23 +02:00
Sebastian Rittau 9ac95d40d5 [Authlib] Mark as partial again (#14394)
Some integrations are missing from the stubs
2025-07-10 12:11:51 +02:00
renovate[bot] 9317dc62bd Update dependency pyright to v1.1.403 (#14121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-09 11:50:56 +01:00
Semyon Moroz b7b764b751 Bump HTMLParser.parse_comment to 3.14 (#14386) 2025-07-09 12:44:30 +02:00
Semyon Moroz d4e03e05fb Update allowlist for Python 3.14 (#14388)
* Update allowlist for Python 3.14

* Add html.parser entry
2025-07-09 09:28:56 +01:00
Semyon Moroz dfee232873 [docutils] Fix issue with *_path params (#14383) 2025-07-09 09:44:39 +02:00
Ali Hamdan fbaced9227 Fix shapely for 2.1 release (#14230) 2025-07-09 09:42:57 +02:00
github-actions[bot] c6ced0deda [stubsabot] Bump peewee to 3.18.2 (#14385)
Release: https://pypi.org/pypi/peewee/3.18.2
Homepage: https://github.com/coleifer/peewee/
Repository: https://github.com/coleifer/peewee
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/peewee
Diff: https://github.com/coleifer/peewee/compare/3.18.1...3.18.2

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: `peewee.py`.
 - Total lines of Python code added: 5.
 - Total lines of Python code deleted: 3.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2025-07-09 07:43:54 +01:00
Avasam 07a59e924f networkx: All return types from python-type-stubs (#14256) 2025-07-08 19:05:27 +02:00
Huy Nguyen 0ad1d96f2c Fix ImportError for get_oldest_supported_python in runtests.py (#14381) (#14382) 2025-07-08 17:18:27 +02:00
MegaIng f6bb513eed Update windows install instructions for windows (#14293)
Use the `py` launcher and don't use the `pip` script for upgrading pip itself
2025-07-08 13:41:17 +02:00
Alex Waygood 40c26877c7 Use stricter pyright settings for all of click-web (#14379) 2025-07-08 11:04:51 +01:00
Semyon Moroz f4bf1d90a6 [python-datemath] Remove from pyrightconfig (#14376)
missed in PR #14329
2025-07-07 21:12:31 +01:00
Semyon Moroz 22a5840d61 [docutils] Add missing stubs for readers dir (#14242) 2025-07-07 19:18:48 +02:00
Semyon Moroz 402a217726 [docutils] Impove main stubs (#14107) 2025-07-07 18:01:00 +02:00
Ali Hamdan cb3160488b Fix shapely return types coming from numpy ufuncs (#14231) 2025-07-07 17:43:45 +02:00
Semyon Moroz 28d8ff1a80 [docutils] Add parsers.commonmark_wrapper (#14243) 2025-07-07 17:41:55 +02:00
Brian Schubert 0ca73211f3 [zstd] Update to 1.5.7.1 (#14250) 2025-07-07 17:24:43 +02:00
Abel Cheung 0ed4f10cb9 [html5lib] Minimal pyright fix for HTMLParser.__init__ (#14251) 2025-07-07 17:24:25 +02:00
Tatsh 1f9ce7d59f Add jsonnet stubs (#14253) 2025-07-07 17:21:29 +02:00
Semyon Moroz 571cbf36d4 [flake8-simplify] Complete stubs (#14259) 2025-07-07 16:56:47 +02:00
Brian Schubert 213e696e3f [auth0-python] Bump to 4.10.* (#14261) 2025-07-07 16:46:10 +02:00
Semyon Moroz 7eda640d62 [dockerfile-parse] Use Final for constants (#14258) 2025-07-07 16:45:53 +02:00
Semyon Moroz a345039382 [defusedxml] Add missing stubs (#14265) 2025-07-07 16:37:15 +02:00
Paul Garner 2dabec0db0 [croniter] croniter.pyi: get_next with a ret_type passed should return that type (#14267) 2025-07-07 16:37:04 +02:00
Sebastian Rittau 096cf56da3 Revert "Let SupportsDunderLT return SupportsBool instead of `bool… (#14373)
Revert "Let `SupportsDunderLT` return `SupportsBool` instead of `bool`. (#12939)"

This reverts commit aed8025d62.
2025-07-07 16:25:23 +02:00
Semyon Moroz edc3e3a89c [jsonschema] Add missing stubs (#14264) 2025-07-07 16:18:06 +02:00
Randolf Scholz aed8025d62 Let SupportsDunderLT return SupportsBool instead of bool. (#12939) 2025-07-07 16:12:09 +02:00
Semyon Moroz e038a0e1c3 [flake8-typing-imports] Complete stubs (#14262) 2025-07-07 16:10:34 +02:00
Semyon Moroz 0a26a8320b [aws-xray-sdk] Improve stubs (#14277) 2025-07-07 16:01:33 +02:00
Semyon Moroz 1c022395b0 [aws-xray-sdk] Add missing stubs (#14276) 2025-07-07 15:38:50 +02:00
Semyon Moroz 806608eef2 [html5lib] Improve stubs (#14278) 2025-07-07 15:26:16 +02:00
Semyon Moroz d951114dea [Markdown] Add missing stubs (#14285) 2025-07-07 15:16:22 +02:00
Semyon Moroz 98bb239d8f [python-dateutil] Add missing stubs (#14326) 2025-07-07 15:00:24 +02:00
github-actions[bot] 185e04b9c6 [stubsabot] Bump flake8-simplify to 0.22.* (#14210) 2025-07-07 14:58:11 +02:00
Semyon Moroz 7ef61870d1 [vobject] Improve stubs (#14299) 2025-07-07 14:55:20 +02:00
Semyon Moroz cafde84804 [wurlitzer] Remove from pyrightconfig (#14292) 2025-07-07 14:50:40 +02:00
Jun Komoda 1c82fa75cd Add CopyComPointer to stdlib/ctypes/__init__.pyi. (#14294) 2025-07-07 14:45:09 +02:00
Semyon Moroz c8744f1343 [oauthlib] Add missing stubs (#14301) 2025-07-07 14:33:44 +02:00
Mark Liffiton dd6d7bf375 [oauthlib] Fix type on body argument of oauthlib.oauth1.Client.sign() (#14295) 2025-07-07 14:32:01 +02:00
Semyon Moroz 7cb1ea1d1a [click-web] Remove from pyrightconfig (#14312) 2025-07-07 14:30:32 +02:00
Semyon Moroz e27ad6d19b [aiofiles] Remove from pyrightconfig (#14310) 2025-07-07 14:29:38 +02:00
Semyon Moroz 98844c3ba9 [python-http-client] Remove from pyrightconfig (#14321) 2025-07-07 14:26:48 +02:00