Skip to content

Adopt 1st party ty commit hook #573

@janosh

Description

@janosh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions