Skip to content

DOC: Add pre-commit commands to CONTRIBUTING.md #2215

Description

@drbenvincent

Description

CONTRIBUTING.md links out to the PyMC Python style guide with pre-commit, but it does not include the concrete PyTensor developer commands that match CI.

It would be helpful to add a short section to CONTRIBUTING.md showing contributors how to set up and run pre-commit locally, for example:

pre-commit install
pre-commit run --all-files

This would make it easier for new contributors to reproduce the remote code style checks before opening or updating a PR.

Suggested location

Add a short developer checks section near the existing quick links in CONTRIBUTING.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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