Обновить Makefile.python

This commit is contained in:
2025-10-31 13:08:57 +00:00
parent fe53caaba7
commit d678c494b7

View File

@@ -4,22 +4,26 @@ PYTHON := python
.PHONY: setup-pip setup-poetry setup-full full-lint
# Установить через pip
setup-pip:
@echo "Installing Python tools via pip..."
$(PIP) install --upgrade pip
$(PIP) install mypy ruff cv --upgrade
# Установить через poetry
setup-poetry:
@echo "Installing Python tools via poetry..."
$(POETRY) install
$(POETRY) add --group dev mypy ruff cv
# Установить pip, poetry и все зависимости
setup-full:
@echo "Installing pip, poetry and Python tools..."
$(PIP) install --upgrade pip
$(PIP) install poetry mypy ruff cv --upgrade
$(POETRY) install
# Провести все проверки по коду
full-lint:
@echo "Running ruff check..."
$(RUFF) check .