From 395082c311209772eca6096f004eb5343beb9fb0 Mon Sep 17 00:00:00 2001 From: Khabib <136262760+Khabib73@users.noreply.github.com> Date: Tue, 3 Nov 2026 16:39:40 +0300 Subject: [PATCH 1/5] Bump ruff to 0.17.3 --- .pre-commit-config.yaml | 2 +- src/test_typing_extensions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 22b01713..894bcae6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 # frozen: v0.15.20 + rev: v0.17.3 hooks: - id: ruff - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py index 48107c04..9b90d4a6 100644 --- a/src/test_typing_extensions.py +++ b/src/test_typing_extensions.py @@ -6479,7 +6479,7 @@ def test_call(self): with self.assertRaises(TypeError): TypeForm() with self.assertRaises(TypeError): - TypeForm("too", "many") + TypeForm(int, str) def test_cannot_init_type(self): with self.assertRaises(TypeError): From e7909f3267a12a0cefe3f8fed38fd02037722a0a Mon Sep 17 00:00:00 2001 From: Khabib <136262760+Khabib73@users.noreply.github.com> Date: Tue, 3 Nov 2026 16:47:56 +0300 Subject: [PATCH 2/5] add sha --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 894bcae6..db7a689b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.17.3 + rev: 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c # frozen: v0.17.3 hooks: - id: ruff - repo: https://github.com/pre-commit/pre-commit-hooks From 885d2324910dc7285a35a5af3a0157c694b07d36 Mon Sep 17 00:00:00 2001 From: Khabib <136262760+Khabib73@users.noreply.github.com> Date: Tue, 3 Nov 2026 16:57:47 +0300 Subject: [PATCH 3/5] update the remaining dependencies --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index db7a689b..58337187 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,21 +22,21 @@ repos: - id: sphinx-lint args: [--enable=default-role] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 6b63472e72e1a91ed8a2f6d483790dfb644fa1d3 # frozen: 0.37.4 + rev: a76b92851fc9eede9f9bc4073eb55202f34eb0df # frozen: 0.39.0 hooks: - id: check-renovate # Renovate needs an explicit language to update additional_dependencies. language: python - additional_dependencies: ["json5==0.15.0"] + additional_dependencies: ["json5==0.17.3"] - id: check-github-workflows - id: check-readthedocs - repo: https://github.com/abravalheri/validate-pyproject - rev: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 # frozen: v0.25 + rev: 82d21874c3242e4dc27bb47641c996902ef64eef # frozen: v0.27 hooks: - id: validate-pyproject # Renovate needs an explicit language to update additional_dependencies. language: python - additional_dependencies: ["validate-pyproject-schema-store[all]==2026.8.15"] + additional_dependencies: ["validate-pyproject-schema-store[all]==2026.10.23"] - repo: https://github.com/rhysd/actionlint rev: 914e7df21a07ef503a81201c76d2b11c789d3fca # frozen: v1.7.12 hooks: @@ -49,7 +49,7 @@ repos: # but the integration only works if shellcheck is installed - "github.com/wasilibs/go-shellcheck/cmd/shellcheck@v0.11.1" - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: e3eebf65325ccc992422292cb7a4baee967cf815 # frozen: v1.26.1 + rev: c92afdf2c6ca336aaa8f39e2bd8d48f62dbd8e1f # frozen: v1.31.1 hooks: - id: zizmor - repo: meta From 379e9b0ed892f9fb3763330956094639f56cc0c0 Mon Sep 17 00:00:00 2001 From: Khabib <136262760+Khabib73@users.noreply.github.com> Date: Wed, 4 Nov 2026 15:54:00 +0300 Subject: [PATCH 4/5] revert --- src/test_typing_extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py index 9b90d4a6..48107c04 100644 --- a/src/test_typing_extensions.py +++ b/src/test_typing_extensions.py @@ -6479,7 +6479,7 @@ def test_call(self): with self.assertRaises(TypeError): TypeForm() with self.assertRaises(TypeError): - TypeForm(int, str) + TypeForm("too", "many") def test_cannot_init_type(self): with self.assertRaises(TypeError): From c07895c519341ea8d919e5ce73cc638c459bab64 Mon Sep 17 00:00:00 2001 From: Khabib <136262760+Khabib73@users.noreply.github.com> Date: Wed, 4 Nov 2026 15:55:35 +0300 Subject: [PATCH 5/5] add noqa --- src/test_typing_extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py index 48107c04..6a52632e 100644 --- a/src/test_typing_extensions.py +++ b/src/test_typing_extensions.py @@ -6479,7 +6479,7 @@ def test_call(self): with self.assertRaises(TypeError): TypeForm() with self.assertRaises(TypeError): - TypeForm("too", "many") + TypeForm("too", "many") # noqa: F821 def test_cannot_init_type(self): with self.assertRaises(TypeError):