repos: # Optional: Add YAML validation hook - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: trailing-whitespace # Remove trailing spaces - id: end-of-file-fixer # Ensure newline at end of files - id: check-yaml # Basic YAML syntax check - id: check-added-large-files # Prevent large files