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

test:
	Environment=test py.test --cov --cov-config .coveragerc --cov-report xml --cov-report term --junitxml=pyunit.xml datalytics/ tests/

# Note: we do not run Flake8 on every old script yet, just on the code we've added recently.
lint:
	flake8 datalytics/utils.py tests/

pip_dev:
	pip install -r requirements.txt
	pip install -r requirements-dev.txt
