Skip to content

lint-po pre-commit hook should use PyPI instead of git+https #1608

@davidpoblador

Description

@davidpoblador

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:

entry: uvx lint-po

This uses the cached PyPI package instead of doing a git fetch every time.

Filed by Claude Code.

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