Files
Zhifei Li 5756fe7c12 chore: add pre-commit hook (ruff format + lint) and bump to 0.3.0 (#75)
* chore: add pre-commit hook (ruff format + lint) and bump to 0.3.0

Add .pre-commit-config.yaml with ruff-format and ruff --fix hooks so
contributors get auto-formatted on commit, preventing the recurring CI
lint failures on external PRs.

Bump version to 0.3.0 for the GitHub Release.

* fix(deps): gate faiss-gpu-cu12 behind linux marker (macOS has no wheel)
2026-06-23 11:18:09 +08:00

8 lines
154 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.13
hooks:
- id: ruff-format
- id: ruff
args: [--fix]