Skip to content

Commit e5d3d4d

Browse files
committed
chore: add lefthook>=2.1.6 as uv dev dependency so the existing lefthook.yml pre-commit and pre-push pipeline (uv run ruff format, uv run ruff check --fix, uv run mypy src/roxy_sdk/__init__.py, pytest) actually runs locally on commit and push. Without lefthook on the path, git silently skipped the configured hooks and quality checks only ran in CI on push to GitHub. uv add --dev lefthook installs the official PyPI wrapper that ships the upstream Go binary in the project venv, so lefthook is reachable via uv run lefthook with no global install required. Hooks regenerated via uv run lefthook install which writes .git/hooks/pre-commit and .git/hooks/pre-push pointing at the uv-managed binary; the dead /home/abhi/personal/... fallback path that lingered in older hook scripts after the roxyapi-simple to roxyapi rename and the per-directory relocation is overwritten in the same step. uv.lock updates record the new lefthook entry plus a sync of the editable roxy-sdk version field from the stale 0.1.0 to the current 0.1.13 published tag.
1 parent 52710c3 commit e5d3d4d

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ dev = [
6363
"pytest-asyncio>=0.23",
6464
"mypy>=1.9",
6565
"ruff>=0.4",
66+
"lefthook>=2.1.6",
6667
]
6768

6869
[tool.ruff]

uv.lock

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)