/ Makefile
Makefile
 1  .PHONY: install test lint typecheck build publish clean
 2  
 3  install:
 4  	pip install -e ".[dev]"
 5  
 6  test:
 7  	pytest tests/ -v --tb=short
 8  
 9  test-cov:
10  	pytest tests/ -v --cov=argus_ai --cov-report=term-missing --cov-report=html
11  
12  lint:
13  	ruff check src/ tests/
14  
15  lint-fix:
16  	ruff check --fix src/ tests/
17  
18  typecheck:
19  	mypy src/argus_ai/ --ignore-missing-imports
20  
21  check: lint typecheck test
22  
23  build: clean
24  	python -m build
25  
26  publish: build
27  	twine upload dist/*
28  
29  clean:
30  	rm -rf dist/ build/ *.egg-info src/*.egg-info .pytest_cache htmlcov .coverage
31  	find . -type d -name __pycache__ -exec rm -rf {} +