diff --git a/Makefile.python b/Makefile.python index dec3160..bac1fd0 100644 --- a/Makefile.python +++ b/Makefile.python @@ -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 .