From c17676c78095bdeadfb3356dc4c2e4e92771c209 Mon Sep 17 00:00:00 2001 From: hnthh Date: Wed, 29 Nov 2023 21:27:49 +0300 Subject: [PATCH] do not compile messages for tests --- {{cookiecutter.name}}/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/{{cookiecutter.name}}/Makefile b/{{cookiecutter.name}}/Makefile index 1e4308d4..44af9c27 100644 --- a/{{cookiecutter.name}}/Makefile +++ b/{{cookiecutter.name}}/Makefile @@ -1,8 +1,5 @@ manage = poetry run src/manage.py -compilemessages: messages - $(manage) compilemessages - fmt: poetry run autoflake --in-place --remove-all-unused-imports --recursive src tests poetry run isort src tests @@ -16,10 +13,7 @@ lint: poetry run mypy src tests poetry run dotenv-linter src/core/.env.ci -messages: - $(manage) makemessages --locale ru - -test: compilemessages +test: $(manage) makemigrations --dry-run --no-input --check poetry run pytest --dead-fixtures poetry run pytest -x