Problem
The lint-po hook in .pre-commit-config.yaml fetches from git on every run:
- repo: local
hooks:
- id: lint-po
entry: uvx --from "git+https://github.com/himdel/lint-po" lint-po
This causes transient failures when GitHub is slow or the git resolution fails:
× Failed to resolve `--with` requirement
╰─▶ Git operation failed
Fix
lint-po is available on PyPI (latest: 0.1.4). The entry should be:
This uses the cached PyPI package instead of doing a git fetch every time.
Filed by Claude Code.
Problem
The
lint-pohook in.pre-commit-config.yamlfetches from git on every run:This causes transient failures when GitHub is slow or the git resolution fails:
Fix
lint-pois available on PyPI (latest: 0.1.4). The entry should be:This uses the cached PyPI package instead of doing a git fetch every time.
Filed by Claude Code.