mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
add safety checks
This commit is contained in:
parent
fbd5e59f27
commit
7ea9fd2ff2
4
Makefile
4
Makefile
@ -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 .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user