exclude: '^docs/conf.py' repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: trailing-whitespace - id: check-added-large-files - id: check-ast - id: check-json - id: check-merge-conflict - id: check-xml - id: check-yaml - id: debug-statements - id: end-of-file-fixer - id: requirements-txt-fixer - id: mixed-line-ending args: ['--fix=auto'] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.8.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - id: ruff-format ## Check for misspells in documentation files: # - repo: https://github.com/codespell-project/codespell # rev: v2.2.5 # hooks: # - id: codespell