https://github.com/astral-sh/ty-pre-commit is out and should replace the local hook:
|
- repo: local |
|
hooks: |
|
- id: ty |
|
name: ty check |
|
entry: env -u VIRTUAL_ENV UV_PROJECT_ENVIRONMENT=.venv_prek uv run --extra test --extra docs ty check |
|
language: python |
|
additional_dependencies: [uv] |
|
types: [python] |
|
pass_filenames: false |
https://github.com/astral-sh/ty-pre-commit is out and should replace the
localhook:torch-sim/.pre-commit-config.yaml
Lines 39 to 47 in 6c93642