Add ty pre-commit hook #37
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Astral have released a pre-commit hook for ty (https://github.com/astral-sh/ty-pre-commit). Add it to .pre-commit-config.yaml so type checking runs automatically on commit.
The astral-sh/ty-pre-commit hook is already used in fedinesia at rev v0.0.48. This project has ty~=0.0.49 in dev deps, so use rev v0.0.49.
Plan: add the hook to .pre-commit-config.yaml between the pre-commit-hooks block and gitleaks.