|
|
@ -1,10 +1,14 @@
|
|
|
|
.PHONY: style quality install tensorboard clean fix update-worklog
|
|
|
|
.PHONY: style quality install tensorboard clean fix update-worklog test
|
|
|
|
|
|
|
|
|
|
|
|
# make sure to test the local checkout in scripts and not the pre-installed one
|
|
|
|
# make sure to test the local checkout in scripts and not the pre-installed one
|
|
|
|
export PYTHONPATH = src
|
|
|
|
export PYTHONPATH = src
|
|
|
|
|
|
|
|
|
|
|
|
check_dirs := . src notebooks scripts tests
|
|
|
|
check_dirs := . src notebooks scripts tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Run tests
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
|
|
|
pytest -v tests/
|
|
|
|
|
|
|
|
|
|
|
|
# Development dependencies
|
|
|
|
# Development dependencies
|
|
|
|
install:
|
|
|
|
install:
|
|
|
|
python -m venv venv && . venv/bin/activate && pip install --upgrade pip
|
|
|
|
python -m venv venv && . venv/bin/activate && pip install --upgrade pip
|
|
|
|