Skip to content

Commit a09067f

Browse files
committed
fix: correct uv pre-commit command in Makefile
The pre-commit target was using 'uv pre-commit run' which is not a valid uv subcommand. Changed to 'uv run pre-commit run' to properly invoke the pre-commit tool through uv's run command. Signed-off-by: Mihai Criveti <[email protected]>
1 parent 2a692fa commit a09067f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ pycodestyle: ## 📝 Simple PEP-8 checker
10731073

10741074
pre-commit: uv ## 🪄 Run pre-commit tool
10751075
@echo "🪄 Running pre-commit hooks..."
1076-
uv pre-commit run --config .pre-commit-lite.yaml --all-files --show-diff-on-failure
1076+
uv run pre-commit run --config .pre-commit-lite.yaml --all-files --show-diff-on-failure
10771077

10781078
ruff: ## ⚡ Ruff lint + (eventually) format
10791079
@echo "⚡ ruff $(TARGET)..." && $(VENV_DIR)/bin/ruff check $(TARGET)

0 commit comments

Comments
 (0)