chore: use official dagster cli for validation

This commit is contained in:
Stijnvandenbroek
2026-03-05 10:06:15 +00:00
parent 53f2ae897c
commit 5058adf7dc

View File

@@ -114,7 +114,7 @@ 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')"
uv run dagster definitions validate -m data_platform.definitions
test: ## Run pytest
uv run pytest