forked from Traqora/astroml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (32 loc) · 1.16 KB
/
Makefile
File metadata and controls
40 lines (32 loc) · 1.16 KB
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 quickstart test lint format clean install
help:
@echo "AstroML Development Commands"
@echo "============================"
@echo ""
@echo "make quickstart Run quick start: ingestion → graph → train pipeline"
@echo "make quickstart-verbose Run quick start with verbose output"
@echo "make test Run test suite"
@echo "make lint Run linters (flake8, mypy)"
@echo "make format Format code (black, isort)"
@echo "make install Install development dependencies"
@echo "make clean Clean build artifacts and cache"
@echo ""
quickstart:
python -m astroml.quick_start
quickstart-verbose:
python -m astroml.quick_start --num-ledgers 200 --num-accounts 100 --epochs 20
test:
pytest tests/ -v
lint:
flake8 astroml/ tests/
mypy astroml/ --ignore-missing-imports
format:
black astroml/ tests/
isort astroml/ tests/
install:
pip install -e ".[dev]"
clean:
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete
rm -rf .pytest_cache .mypy_cache build/ dist/ *.egg-info
rm -rf benchmark_results/quickstart .astroml_state_quickstart