Add the "test-types" session as a pre-commit hook

This commit is contained in:
Alexander Hess 2026-12-01 17:14:47 +01:00
commit f47c87f51f
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -56,6 +56,15 @@ repos:
always_run: true
require_serial: true
- id: local-test-types
name: Check the type annotations at runtime
entry: uv run nox -s test-types
language: unsupported
stages: [pre-merge-commit]
pass_filenames: false # => No `--` at the end of the "entry"
always_run: true
require_serial: true
# Keep requirements.txt in sync with uv.lock
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.13.10