Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,14 @@ repos:
files: ^nemoclaw/
priority: 20

- id: source-shape-test-budget
name: Source-shape test budget
entry: npm run source-shape:check
language: system
pass_filenames: false
files: ^(test/|scripts/find-source-shape-tests\.ts$|ci/source-shape-test-budget\.json$)
priority: 20

- id: test-skills-yaml
name: Test (skills YAML)
entry: npx vitest run test/skills-frontmatter.test.ts
Expand Down
3 changes: 3 additions & 0 deletions ci/source-shape-test-budget.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"maxSourceShapeCases": 0
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
"typecheck:cli": "tsc -p tsconfig.cli.json",
"validate:configs": "tsx scripts/validate-configs.ts",
"type-safety:hotspots": "tsx scripts/type-safety-hotspots.ts",
"source-shape:scan": "tsx scripts/find-source-shape-tests.ts --metrics",
"source-shape:check": "tsx scripts/find-source-shape-tests.ts --check",
"bump:version": "tsx scripts/bump-version.ts",
"docs": "uv run --group docs sphinx-build -b html docs docs/_build/html",
"docs:strict": "uv run --group docs sphinx-build -W -b html docs docs/_build/html",
Expand Down
Loading
Loading