From b656a931f5d6c2b6ac4ca746c2028b38a77bd6b6 Mon Sep 17 00:00:00 2001 From: wyattscarpenter Date: Thu, 25 Sep 2025 23:54:48 +0900 Subject: [PATCH 1/3] do not exclude misc/sync-typeshed.pyfrom from tox self-check it's fine; we can just typecheck it --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 65f67aba42a2..d529c58df33a 100644 --- a/tox.ini +++ b/tox.ini @@ -62,5 +62,5 @@ passenv = MYPY_FORCE_TERMINAL_WIDTH commands = python runtests.py self - python -m mypy --config-file mypy_self_check.ini misc --exclude misc/sync-typeshed.py + python -m mypy --config-file mypy_self_check.ini misc python -m mypy --config-file mypy_self_check.ini test-data/unit/plugins From bdaf9d433314c692aaface4ff1a2c7841c9d3304 Mon Sep 17 00:00:00 2001 From: wyattscarpenter Date: Fri, 26 Sep 2025 16:31:59 -0700 Subject: [PATCH 2/3] Install types-request, as required by the newly-checked code. --- test-requirements.in | 1 + test-requirements.txt | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/test-requirements.in b/test-requirements.in index df074965a1e8..18f7f7ad13ba 100644 --- a/test-requirements.in +++ b/test-requirements.in @@ -13,3 +13,4 @@ pytest-cov>=2.10.0 setuptools>=75.1.0 tomli>=1.1.0 # needed even on py311+ so the self check passes with --python-version 3.9 pre_commit>=3.5.0 +types-requests>=2.32.4.20250913 \ No newline at end of file diff --git a/test-requirements.txt b/test-requirements.txt index 521208c5aa27..d076cfe28d5f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -61,8 +61,12 @@ types-psutil==7.0.0.20250822 # via -r build-requirements.txt types-setuptools==80.9.0.20250822 # via -r build-requirements.txt +types-requests==2.32.4.20250913 + # via -r test-requirements.in typing-extensions==4.14.1 # via -r mypy-requirements.txt +urllib3==2.5.0 + # via types-requests virtualenv==20.34.0 # via pre-commit From f69999b06c6239cc9c4fd273b597d8a990650eb1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 26 Sep 2025 23:33:26 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- test-requirements.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-requirements.in b/test-requirements.in index 18f7f7ad13ba..3053cfc2bcde 100644 --- a/test-requirements.in +++ b/test-requirements.in @@ -13,4 +13,4 @@ pytest-cov>=2.10.0 setuptools>=75.1.0 tomli>=1.1.0 # needed even on py311+ so the self check passes with --python-version 3.9 pre_commit>=3.5.0 -types-requests>=2.32.4.20250913 \ No newline at end of file +types-requests>=2.32.4.20250913