From 22a2cd5365e52644fb50a7c50bffb858d9675826 Mon Sep 17 00:00:00 2001 From: CREATIVE_tg1 Date: Fri, 31 Oct 2025 13:10:33 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Makefile.python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile.python | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.python b/Makefile.python index bac1fd0..e8c6e87 100644 --- a/Makefile.python +++ b/Makefile.python @@ -1,6 +1,8 @@ PIP := pip POETRY := poetry PYTHON := python +RUFF := ruff +MYPY := mypy .PHONY: setup-pip setup-poetry setup-full full-lint @@ -25,10 +27,8 @@ setup-full: # Провести все проверки по коду full-lint: - @echo "Running ruff check..." - $(RUFF) check . - @echo "Running ruff format check..." - $(RUFF) format --check . + @echo "Running ruff check and fix..." + $(RUFF) check . --fix @echo "Running mypy..." - $(MYPY) . + $(POETRY) run $(MYPY) . --config-file ./pyproject.toml --no-incremental @echo "All checks completed!" \ No newline at end of file