Skip to content

Add a pre-commit configuration matching the CI style checks - #87

Open
reacher-z wants to merge 1 commit into
mainfrom
chore/pre-commit
Open

reacher-z wants to merge 1 commit into
mainfrom
chore/pre-commit

Conversation

@reacher-z

Copy link
Copy Markdown
Collaborator

.pre-commit-config.yaml:

  • ruff-pre-commit v0.17.3, the Ruff version in uv.lock, running ruff check and ruff format on scripts/, src/ and tests/;
  • pre-commit-hooks v6.0.0: check-yaml, check-toml, check-json, end-of-file-fixer, trailing-whitespace, excluding tasks/.

pre-commit run --all-files passes on the current tree. docs/development.md shows how to install the hooks.

Ruff check and format run on scripts/, src/ and tests/, pinned to the
Ruff version in uv.lock, plus YAML, TOML, JSON and whitespace checks on
the files outside tasks/. All hooks pass on the current tree.
@reacher-z reacher-z added the ci GitHub Actions and checks label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci GitHub Actions and checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant