.PHONY: security

security:
	@rc=0; \
	echo "==> bandit"; \
	bandit -r drppy_client/ -c pyproject.toml || rc=$$((rc+1)); \
	echo "==> semgrep"; \
	semgrep --config=p/python drppy_client/ || rc=$$((rc+1)); \
	echo "==> pip-audit"; \
	pip-audit -r requirements.txt || rc=$$((rc+1)); \
	exit $$rc
