Skip to content

Commit 04b7547

Browse files
committed
feat: Makefile - add typecheck target
Signed-off-by: Amit Oren <amoren@redhat.com>
1 parent 8ab0c05 commit 04b7547

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,11 @@ format: ## Auto-format code
546546
@if uv run ruff --version >/dev/null 2>&1; then uv run ruff format $(SRC_DIR)/ $(UI_DIR)/; else printf "$(YELLOW)ruff not installed, skipping$(NC)\n"; fi
547547
@printf "$(GREEN)✓ Formatting complete$(NC)\n"
548548

549+
typecheck: ## Run typecheck
550+
@printf "$(BLUE)Running typecheck...$(NC)\n"
551+
@if uv run mypy --version >/dev/null 2>&1; then uv run mypy $(SRC_DIR)/ $(UI_DIR)/; else printf "$(YELLOW)mypy not installed, skipping$(NC)\n"; fi
552+
@printf "$(GREEN)✓ Typecheck complete$(NC)\n"
553+
549554
##@ Cleanup
550555

551556
clean: ## Clean generated files and caches

0 commit comments

Comments
 (0)