# Add any tasks that are not dependent on files in the .PHONY list
.PHONY: test lint pip_dev clear

clean:
	rm -rf venv

test:
	venv/bin/py.test tests/

test_cov:
	venv/bin/py.test tests/ --cov owsfeatures --cov-report term-missing

lint:
	venv/bin/flake8 owsfeatures/ tests/

pip_dev:
	python3.11 -m venv venv
	venv/bin/pip install --upgrade pip
	venv/bin/pip install -r requirements.txt
	venv/bin/pip install -r requirements-dev.txt
