Init
This commit is contained in:
25
Makefile
Normal file
25
Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
venv:
|
||||
python3 -m venv venv
|
||||
|
||||
setup: venv
|
||||
./venv/bin/python -m pip install --upgrade pip
|
||||
./venv/bin/python -m pip install -e ".[dev]"
|
||||
|
||||
lint:
|
||||
./venv/bin/ruff check .
|
||||
|
||||
format:
|
||||
./venv/bin/ruff format .
|
||||
|
||||
test:
|
||||
./venv/bin/pytest
|
||||
|
||||
run:
|
||||
./venv/bin/ai-reviewer --help
|
||||
|
||||
docker-build:
|
||||
docker build -t ai-reviewer:latest .
|
||||
|
||||
docker-run:
|
||||
docker run --rm -e OLLAMA_HOST=http://host.docker.internal:11434 -v $(PWD):/work ai-reviewer:latest \
|
||||
review --repo /work --base main --head HEAD --format markdown --out /work/review.md
|
||||
Reference in New Issue
Block a user