Commit Graph

11054 Commits

Author SHA1 Message Date
Sebastian Rittau a02656a556 Stubtest: Ignore attrs-generated props (#14845) 2025-10-07 11:36:51 +02:00
sobolevn dfaf10db5c importlib.resources.contents is deprecated (#14835) 2025-10-07 11:28:16 +02:00
github-actions[bot] 79bb399a6d [stubsabot] Bump flake8-rst-docstrings to 0.4.* (#14843)
Release: https://pypi.org/pypi/flake8-rst-docstrings/0.4.0
Homepage: https://github.com/peterjc/flake8-rst-docstrings
Repository: https://github.com/peterjc/flake8-rst-docstrings
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/flake8-rst-docstrings
Diff: https://github.com/peterjc/flake8-rst-docstrings/compare/v0.3.1...v0.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.
 - 1 file included in typeshed's stubs has been modified or renamed: `flake8_rst_docstrings.py`.
 - Total lines of Python code added: 32.
 - Total lines of Python code deleted: 36.

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-10-07 07:43:41 +01:00
pre-commit-ci[bot] 96ea0adfa1 [pre-commit.ci] pre-commit autoupdate (#14842)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.2 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.2...v0.13.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-06 23:36:01 +01:00
Carl Meyer f1f3c12801 TypeAliasType type_params accepts typing_extensions.TypeVar also (#14840) 2025-10-06 21:57:15 +01:00
GastonAQS bbe48c754c Support Module and other objects in ast.parse (#14837) 2025-10-06 17:04:45 +02:00
Marc Mueller e9d5cc7816 Fix PEP 728 TypedDict.__closed__ annotation in typing_extensions (#14839) 2025-10-06 13:36:31 +01:00
github-actions[bot] 3c161811ad [stubsabot] Bump django-filter to 25.2.* (#14836) 2025-10-06 11:19:30 +02:00
Fangyi Zhou 9c26ab12e2 importlib: change argument name of load_module to match docs (#14834)
Reference
https://docs.python.org/3/library/importlib.html#importlib.abc.FileLoader.load_module
2025-10-05 14:38:46 -07:00
Adam Dangoor 9f7ddd9ecc docutils: docutils.nodes.Node.next_node can return None (#14833) 2025-10-05 15:06:46 +02:00
Semyon Moroz 725a90026e [Authlib] Update to 1.6.5 (#14830) 2025-10-04 20:21:59 +02:00
renovate[bot] aa52024657 Update dependency pyright to v1.1.406 (#14826)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-03 07:36:04 +01:00
Sebastian Rittau bee1e1f551 Add default argument values to builtin types (#14824)
Mark two exception `name` arguments as being potentially `None`
2025-10-02 14:56:35 +02:00
Fangyi Zhou e6f51839ad importlib: change argument name of get_filename to match docs (#14809) 2025-10-02 08:40:57 +02:00
Alex Waygood 6547ec10b8 Pin Jetson.GPIO to 2.1.11 (#14814) 2025-10-01 11:02:28 +01:00
KotlinIsland fc1062ca29 fix type.__or__ (#14813)
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2025-10-01 11:02:16 +01:00
renovate[bot] 565cd2dbab Update most test/lint dependencies (#14812) 2025-10-01 09:31:46 +02:00
renovate[bot] 6683d3baa0 Update GitHub Actions (#14811) 2025-10-01 09:23:13 +02:00
Joren Hammudoglu 91055c730f Refine the copy._SupportsReplace.__replace__ signature (#14786) 2025-09-30 20:27:11 +02:00
Emmanuel Ferdman 250bf77292 email.headerregistry: Fix DateHeader.datetime to allow None (#14808) 2025-09-30 18:53:34 +02:00
Connor Smith 58a4b410f5 pyserial: Update type yielded by grep from tuple to ListPortInfo (#14807) 2025-09-30 15:49:06 +02:00
Emmanuel Ferdman 8845352c2e [psutil] Add cache_clear to psutil.process_iter typing (#14803) 2025-09-30 14:59:31 +02:00
Sebastian Rittau 6a7f3190b1 Remove @override annotations (#14806) 2025-09-30 13:47:57 +02:00
Robin McCorkell 602da37de8 [grpcio] ServerInterceptor and GenericRpcHandler should not be generic (#14785) 2025-09-30 12:41:29 +02:00
Thanos 16c4e13e41 Allow __import__ to take None for the fromlist parameter (#14790) 2025-09-30 12:36:53 +02:00
Avasam 810433f176 networkx: Add type annotation to all G params (#14796) 2025-09-30 12:22:18 +02:00
Shamil 284acd45d3 types.CoroutineType.cr_frame may be None on 3.12+ (#14802) 2025-09-30 13:12:48 +03:00
Akuli 332fcabae4 tkinter: Fix return type of winfo_children() (#14791) 2025-09-29 22:10:19 +03:00
Alex Waygood c7d0fd95f3 Make (Async)GeneratorType type parameters consistent with (Async)Generator type parameters (#14789)
Currently `Generator` is generic over three type variables that have defaults, but `GeneratorType` is generic over three type variables that do not have defaults. It seems like it probably makes more sense for them to be consistent? The vast majority of real-world `Generator`s are instances of `GeneratorType`
2025-09-27 08:48:19 -07:00
github-actions[bot] 19c851629e [stubsabot] Bump yt-dlp to 2025.9.26 (#14798) 2025-09-27 12:11:22 +02:00
Semyon Moroz ec184feeee [tkinter] Remove _TtkCompound alias (#14794) 2025-09-26 20:27:39 +03:00
Semyon Moroz fb21402839 [tkinter] Remove _ScreenUnits alias (#14782)
Inspired by https://github.com/python/typeshed/pull/14742#pullrequestreview-3241268005
2025-09-26 19:42:09 +03:00
Semyon Moroz 6af8f287bb [yt-dlp] Use Final (#14788) 2025-09-26 11:39:27 +02:00
Toshiki Kataoka f97c78550c fix typo in dbm.sqlite3.open flag (#14783) 2025-09-25 01:42:11 -07:00
Aditya Paul 588be69bb0 fixed: reportlab - incorrect type on function parameter (#14777) 2025-09-25 09:58:19 +02:00
Semyon Moroz af834e4e3e [pycurl] Update to 7.45.7 (#14781) 2025-09-25 09:55:11 +02:00
Semyon Moroz 0e9b8c99ba [yt-dlp] Update to 2025.9.23 (#14776) 2025-09-24 17:30:20 +02:00
KotlinIsland cef41544d0 fix UnionType.__or__ and add UnionType.__getitem__ (#14687)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-09-24 13:01:33 +01:00
Semyon Moroz 2cc9c1667d [tkinter] Remove a few type aliases (#14742) 2025-09-23 22:59:57 +03:00
Semyon Moroz b0d926ee22 [importlib] Update deprecate message for files function (#14773) 2025-09-23 20:37:09 +02:00
Semyon Moroz 23cbc59023 [mock] Sync _ANY type with unittest.mock (#14772) 2025-09-23 20:36:45 +02:00
Alex Waygood def5a2825f Use stricter pyright settings for gunicorn (#14771) 2025-09-23 15:12:30 +01:00
Semyon Moroz 867cc01a0b [curses] Revert Final for LINES and COLS (#14764) 2025-09-23 12:46:41 +02:00
github-actions[bot] 67be89e4eb [stubsabot] Bump docutils to 0.22.2 (#14765) 2025-09-23 09:50:50 +02:00
Alex Waygood 7c8dce0a78 Use stricter pyright settings for xmltodict (#14763) 2025-09-22 14:16:57 +01:00
Sebastian Rittau 31630d7136 [docutils] Update to 0.22.1 (#14737) 2025-09-22 14:51:20 +02:00
Sebastian Rittau 70e6f63cef [reportlab] Update to 4.4.4 (#14762) 2025-09-22 14:15:26 +02:00
Sebastian Rittau a2c34cc1d0 [django-filter] Improve stubtest comment (#14738) 2025-09-22 13:57:31 +02:00
Eugene Liukin da93072ceb Add stubs for gunicorn (#14690) 2025-09-22 12:09:52 +02:00
Semyon Moroz fb852f99f0 [faulthandler] Add c_stack parameter to enable (#14757) 2025-09-22 11:56:23 +02:00