provide-foundry
2026-03-22
Add pre-commit config and apply canonical SPDX script lint fixes
3 files · 66+ · 13-
Pre-commit configuration
1 file changed
.pre-commit-config.yamlNew pre-commit config with ruff-check, ruff-format, mypy strict (local hook on src/), and standard hooks. Excludes site/ directory.
- Adds automated pre-commit quality gates with mypy strict mode, enforcing type safety on every commit for the foundry codebase.
qualify
behavioral
1 file
.pre-commit-config.yaml
SPDX script lint fixes
2 files changed
add_spdx_headers.pyCanonical ruff fixes: normalize quotes, reorder imports, extract _check_existing_header helper, rename loop variable (E741).validate_spdx_headers.pyNormalize quotes, reorder imports