27 lines
550 B
Makefile
27 lines
550 B
Makefile
all: format check test
|
|
@echo "Done"
|
|
check:
|
|
find . -name "*.py" | xargs pyflakes
|
|
format:
|
|
find . -name "*.py" | xargs black -l 120
|
|
|
|
test:
|
|
python -m prompt_control.test_parser
|
|
|
|
test_graph:
|
|
PYTHONPATH=../../ python -m prompt_control.test_graph
|
|
|
|
test_encode:
|
|
PYTHONPATH=../../ python -m prompt_control.test_encode
|
|
|
|
test_encode_t5:
|
|
PYTHONPATH=../../ python -m prompt_control.test_encode_t5
|
|
|
|
test_heavy: test_graph test_encode test_encode_t5
|
|
echo "OK"
|
|
|
|
manual_test:
|
|
PYTHONPATH=../../ python -im prompt_control.manual_test
|
|
|
|
.PHONY: check format all
|