Обновить Makefile.python

This commit is contained in:
2025-10-31 13:10:33 +00:00
parent d678c494b7
commit 22a2cd5365

View File

@@ -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!"