mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
replace black with ruff format
This commit is contained in:
4
Makefile
4
Makefile
@@ -41,10 +41,6 @@ py-upgrade: ## Upgrade project py files with pyupgrade library for python versio
|
||||
lint: ## Lint project code.
|
||||
poetry run ruff --fix .
|
||||
|
||||
.PHONY: format
|
||||
format: ## Format project code.
|
||||
black app tests --line-length=120
|
||||
|
||||
.PHONY: slim-build
|
||||
slim-build: ## with power of docker-slim build smaller and safer images
|
||||
docker-slim build --compose-file docker-compose.yml --target-compose-svc app --dep-include-target-compose-svc-deps true --http-probe-exec app fastapi-sqlalchemy-asyncpg_app:latest
|
||||
|
||||
Reference in New Issue
Block a user