-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 713 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 713 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
.PHONY: install test clean verify format lint
install:
pip install -e .
test:
pytest tests/ -v
clean:
find . -type d -name __pycache__ -exec rm -r {} + 2>/dev/null || true
find . -type f -name "*.pyc" -delete
find . -type f -name "*.pyo" -delete
find . -type d -name "*.egg-info" -exec rm -r {} + 2>/dev/null || true
rm -rf .cache .workspace evidence *.mtb *.mtb.zip
verify:
python -m verifier.verify_mtb verifier/examples/sample_mtb.zip
format:
black engine/ mtb/ verifier/ cli/ tests/
isort engine/ mtb/ verifier/ cli/ tests/
lint:
flake8 engine/ mtb/ verifier/ cli/ tests/
mypy engine/ mtb/ verifier/ cli/
setup:
python -m venv venv
. venv/bin/activate && pip install -r requirements.txt