File size: 479 Bytes
f4931e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.PHONY: install install-data install-train test lint check check-shell clean

install:
	python -m pip install -e .

install-data:
	python -m pip install -e '.[data]'

install-train:
	python -m pip install -e '.[train]'

test:
	PYTHONPATH=src python -m unittest discover -s tests -v

lint:
	python -m ruff check src tests

check: test
	python -m compileall -q src tests

check-shell:
	bash -n scripts/*.sh

clean:
	find src tests -type d -name __pycache__ -prune -exec rm -r {} +