mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
add pyupgrade to make
This commit is contained in:
parent
3e9a64e8c1
commit
28af397f10
4
Makefile
4
Makefile
@ -30,6 +30,10 @@ test: ## Run project tests
|
|||||||
safety: ## Check project and dependencies with safety https://github.com/pyupio/safety
|
safety: ## Check project and dependencies with safety https://github.com/pyupio/safety
|
||||||
docker-compose run --rm app safety check
|
docker-compose run --rm app safety check
|
||||||
|
|
||||||
|
.PHONY: py-upgrade
|
||||||
|
py-upgrade: ## Upgrade project py files with pyupgrade library for python version 3.9
|
||||||
|
docker-compose run --rm app pyupgrade --py39-plus `find . -name "*.py"`
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: ## Lint project code.
|
lint: ## Lint project code.
|
||||||
isort the_app tests --check
|
isort the_app tests --check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user