.PHONY: clean lint test cov

clean:
	find . | grep -vE "^\./env" | grep -E "__pycache__|\.cache|\.pyc|\.pyo$\" | xargs rm -rf
	rm -f .coverage
	rm -rf .pytest_cache

lint:
	./env/bin/python -m flake8 reports tests dev.py

test:
	./env/bin/python -m pytest -s tests/

cov:
	./env/bin/python -m pytest --cov-report term-missing --cov=reports tests/
