-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (31 loc) · 889 Bytes
/
Copy pathMakefile
File metadata and controls
40 lines (31 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.PHONY: help install install-dev test lint format clean build docs
help:
@echo "Available commands:"
@echo " install Install the package"
@echo " install-dev Install with development dependencies"
@echo " test Run tests"
@echo " lint Run linting"
@echo " format Format code with black"
@echo " clean Clean build artifacts"
@echo " build Build distribution packages"
@echo " docs Build documentation"
install:
pip install -e .
install-dev:
pip install -e ".[dev]"
test:
pytest tests -v --cov=llmomics --cov-report=term-missing
lint:
flake8 src tests
mypy src
format:
black src tests
clean:
rm -rf build dist *.egg-info
rm -rf .pytest_cache .coverage htmlcov
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
build: clean
python -m build
docs:
cd docs && make html