Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 # frozen: v0.15.20
rev: 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c # frozen: v0.17.3
hooks:
- id: ruff
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/test_typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down