From 78d648069b5b6e31493fcc8ff84d8170c5e4ae47 Mon Sep 17 00:00:00 2001 From: Stijnvandenbroek Date: Wed, 4 Mar 2026 14:56:14 +0000 Subject: [PATCH] feat: add dagster validation command --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 3052957..a6dd0b3 100644 --- a/Makefile +++ b/Makefile @@ -113,6 +113,9 @@ pre-commit-install: ## Install pre-commit hooks into .git/hooks pre-commit: ## Run all pre-commit hooks against all files uv run pre-commit run --all-files +validate: ## Validate Dagster definitions load without errors + uv run python -c "from data_platform.definitions import defs; specs = list(defs.resolve_all_asset_specs()) if hasattr(defs, 'resolve_all_asset_specs') else list(defs.get_all_asset_specs()); print(f'OK – {len(specs)} assets, {len(defs.jobs or [])} jobs, {len(defs.schedules or [])} schedules')" + test: ## Run pytest uv run pytest