Skip to content

Use official ty pre-commit hook - #80

Merged
d33bs merged 2 commits into
CU-DBMI:mainfrom
d33bs:ci/ty-pre-commit
Nov 6, 2026
Merged

d33bs merged 2 commits into
CU-DBMI:mainfrom
d33bs:ci/ty-pre-commit

Conversation

@d33bs

@d33bs d33bs commented Nov 6, 2026

Copy link
Copy Markdown
Member

Replace the local ty hook with astral-sh/ty-pre-commit v0.0.99 in the repository and Copier template. Keep frozen dependency syncing and use the official whole-project checking defaults. Replace an unused type-ignore in the docs template with an explicit annotation.

Verified:

  • Baseline tests: 3 passed.
  • Full local pipeline: all hooks and 3 tests passed.
  • ty hook: passed in generated Python and Rust projects.

Local verification used uv 0.13.7 because uv 0.11.19 cannot parse the hook build configuration. The inherited CONDA_PREFIX was unset to avoid a local virtualenv conflict.

@d33bs
d33bs merged commit 832849b into CU-DBMI:main Nov 6, 2026
9 checks passed
@d33bs
d33bs deleted the ci/ty-pre-commit branch November 6, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant