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