From 27e4ced9e5b068943d788ae274e5114213ae1683 Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Tue, 7 Mar 2023 13:04:31 +0100 Subject: [PATCH] refresh Makefile --- Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile b/Makefile index d817d79..200b124 100644 --- a/Makefile +++ b/Makefile @@ -24,10 +24,6 @@ migrate-apply: ## apply alembic migrations to database/schema migrate-create: ## create new alembic migration docker-compose run --rm app alembic revision --autogenerate -.PHONY: requirements -requirements: ## Refresh requirements.txt from pipfile.lock - pipenv lock --requirements --dev >| requirements.txt - .PHONY: test test: ## Run project tests docker-compose -f docker-compose.yml -f docker-compose.test.yml run --rm app pytest @@ -38,7 +34,7 @@ safety: ## Check project and dependencies with safety https://github.com/pyupio/ .PHONY: py-upgrade py-upgrade: ## Upgrade project py files with pyupgrade library for python version 3.10 - pyupgrade --py310-plus `find app -name "*.py"` + pyupgrade --py311-plus `find app -name "*.py"` .PHONY: lint lint: ## Lint project code. @@ -47,7 +43,6 @@ lint: ## Lint project code. .PHONY: format format: ## Format project code. isort app tests - autoflake --remove-all-unused-imports --recursive --remove-unused-variables --in-place app tests --exclude=__init__.py black app tests --line-length=120 .PHONY: slim-build