Skip to content
Prev Previous commit
Next Next commit
Update Makefile
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
  • Loading branch information
commit a7b03b55f913cae4fe1e4e9fe762c17af83b6b39
3 changes: 2 additions & 1 deletion Makefile
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@ lint-python: ## Lint Python code
# File-aware lint (for use with pre-commit, accepts file args)
lint-python-files: ## Lint specified Python files
@if [ -n "$(FILES)" ]; then \
uv run ruff check $(FILES); \
uv run ruff check $(FILES) && \
uv run ruff format --check $(FILES); \
else \
echo "Usage: make lint-python-files FILES='file1.py file2.py'"; \
fi


# New combined target
precommit-check: format-python lint-python ## Run all precommit checks
@echo "✅ All precommit checks passed"
Expand Down
Loading