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

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

lint:
	flake8 aws_user_audit/ tests/

test:
	py.test tests/

test_unit:
	py.test \
		--cov aws_user_audit tests/ \
		--cov-report xml \
		--junitxml=pyunit.xml \
		--ignore tests/integration
