Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Loading