tach-pre-commit

A pre-commit hook for Tach.

Distributed as a standalone repository to enable installing Tach via prebuilt wheels from PyPI.

Using Tach with pre-commit

To run tach check and tach check-external via pre-commit, add the following to your .pre-commit-config.yaml:

- repo: https://github.com/gauge-sh/tach-pre-commit
  # Tach version.
  rev: v0.16.1
  hooks:
    - id: tach
    - id: tach-external

Use args to pass additional arguments to the tach commands.