Skip to content

[General]: Add pre-commit hooks with Ruff and C++ formatting support #67

Description

@harryswift01

Feedback or Inquiry

We don't currently have a pre-commit hook set up for this repo. In other repos within this org we already have one using Ruff for linting/formatting plus a set of general hygiene hooks (large file checks, merge conflict markers, YAML/TOML validation, end-of-file/trailing whitespace fixes) and an rstcheck/docs build gate. We should set up the same here, using Ruff for the Python side to match those repos, and additionally add something to cover the C++ code in src/trans_three/src/trans_compete, which those repos don't have since they're pure Python.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions