Skip to content

Document and unify pre-commit hooks for Python and JavaScript #915

@vgeorge

Description

@vgeorge

Problem

The project's pre-commit setup is not documented, causing confusion and CI failures (e.g., in PR #906). Checks are not enforced locally for all contributors.

Suggested Solution

  1. Unify Hooks: Extend the existing .pre-commit-config.yaml to include JavaScript checks (ESLint, Prettier) alongside the Python checks (Ruff).
  2. Document Setup: Create a CONTRIBUTING.md or update DEVELOP.md to instruct contributors on how to install and use the hooks with uv run pre-commit install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions