From f0579892dd57cdfe0f6f20920e5f0d4f351788da Mon Sep 17 00:00:00 2001 From: Denis Anikin Date: Sun, 31 Dec 2023 19:23:16 +0300 Subject: [PATCH] Ruff cache moved --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a05f5e6..14a1100 100644 --- a/Makefile +++ b/Makefile @@ -23,10 +23,9 @@ lint: ruff . --no-fix mypy . vulture whole_app --min-confidence 100 - black . --check lint-in-docker: - docker run -t spellcheck-microservice bash -c "ruff . && mypy . && vulture whole_app --min-confidence 100 && black . --check" + docker run -t spellcheck-microservice bash -c "RUFF_CACHE_DIR=/tmp/ruff-cache ruff . --no-fix && mypy . && vulture whole_app --min-confidence 100" run-prod: docker run -p 10113:10113 -e SPELLCHECK_WORKERS=1 -t spellcheck-microservice:latest