add safety checks

This commit is contained in:
grillazz 2021-05-30 17:23:05 +02:00
parent fbd5e59f27
commit 7ea9fd2ff2

View File

@ -26,6 +26,10 @@ requirements: ## Refresh requirements.txt from pipfile.lock
test: ## Run project tests test: ## Run project tests
docker-compose run --rm app pytest docker-compose run --rm app pytest
.PHONY: safety
test: ## Check project and dependencies with safety https://github.com/pyupio/safety
docker-compose run --rm app safety check
.PHONY: lint .PHONY: lint
lint: ## Linte project code. lint: ## Linte project code.
isort . isort .