# ============================================================================= # QWHPI — Quebec Weekly Housing Price Index # Author : Simon-Pierre Boucher # Contact : contact@spboucher.ai # File : .pre-commit-config.yaml # Purpose : Pre-commit hooks — mandatory header check, lint, type hygiene. # ============================================================================= repos: - repo: local hooks: - id: qwhpi-headers name: QWHPI author-header check entry: python3 scripts/check_headers.py language: system pass_filenames: true types_or: [python, ts, tsx, javascript, css, sql, yaml, toml, shell] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.9 hooks: - id: ruff args: [--fix]