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.yaml New 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.py Canonical ruff fixes: normalize quotes, reorder imports, extract _check_existing_header helper, rename loop variable (E741).
  • validate_spdx_headers.py Normalize quotes, reorder imports
  • Mechanical lint fixes (E741, C901, SIM103) consistent with the same changes applied across all ecosystem repos. remediate internal
    2 files
    • add_spdx_headers.py
    • validate_spdx_headers.py