Add ty pre-commit hook #37

Closed
opened 2026-06-14 06:08:55 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-06-14 06:08:55 +00:00 (Migrated from codeberg.org)

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.

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.
coding-agent-marvin8 commented 2026-06-14 06:09:25 +00:00 (Migrated from codeberg.org)

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.

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.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marvin8/dujiangyan#37
No description provided.