linewatch
v0.1.0
Published
AI code review in your git hooks. Runs the Linewatch CLI (PyPI linewatch-cli) for npx and Husky users.
Maintainers
Readme
linewatch
AI code review that runs in your git hooks and puts its findings on the lines in your IDE.
This package lets JavaScript teams run Linewatch with npx and Husky. Linewatch itself is a Python CLI (PyPI linewatch-cli); this package runs it for you.
npx linewatch initHow it finds the CLI
- If
linewatchfrom PyPI is installed, it runs that. - If not, and you're in a terminal, it offers to install it with
uv tool install linewatch-cliorpipx install linewatch-cli, then runs it. A lasting install is best: the git hooks need it later. - Otherwise, for example in a hook, it runs the CLI once with
uvxorpipx run. - If none of these are available, it explains how to install the CLI. A hook then skips the review instead of blocking.
Linewatch needs Python 3.10 or later. With Husky, linewatch init adds its hook lines to .husky/; commit them.
Docs
MIT licence.
