From 5095adaf145d307111aa112aa59898ed5020d7dd Mon Sep 17 00:00:00 2001 From: foo2357 Date: Thu, 9 Jul 2026 11:03:03 +0300 Subject: [PATCH] Update Makefile --- Makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 3211b22..f1a2b60 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,28 @@ +.DEFAULT_GOAL := help + +.PHONY: help +help: ## Show the help message + @echo 'Usage: make [target]' + @echo '' + @echo 'Available targets:' + @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-20s %s\n", $$1, $$2}' $(MAKEFILE_LIST) + .PHONY: lint -lint: +lint: ## Run linting checks poetry run ruff check . .PHONY: format -format: +format: ## Format code with ruff poetry run ruff check --select I --fix . poetry run ruff format . -typing: +typing: ## Run typing checks poetry run mypy . .PHONY: smoke -smoke: +smoke: ## Run E2E checks poetry run yatl ./smoke .PHONY: unit_tests -unit_tests: +unit_tests: ## Run unit tests with pytest poetry run pytest - -clear_env: - poetry env remove --all \ No newline at end of file