mirror of
https://github.com/benitomartin/scale-gke-qdrant-llama.git
synced 2025-12-17 02:54:25 +01:00
22 lines
382 B
Makefile
22 lines
382 B
Makefile
# Makefile
|
|
|
|
.PHONY: req lint clean
|
|
|
|
# Variables
|
|
PIP := pip
|
|
RUFF := ruff
|
|
|
|
all: req lint test clean ## Run all tasks
|
|
|
|
req: ## Install the requirements
|
|
$(PIP) install -r requirements.txt
|
|
|
|
lint: ## Run linter and code formatter (ruff)
|
|
$(RUFF) check . --fix
|
|
|
|
test: ## Run tests using pytest
|
|
pytest tests/
|
|
|
|
clean: ## Clean up generated files
|
|
rm -rf __pycache__
|