repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.15.4 # Use the latest version from https://github.com/astral-sh/ruff-pre-commit/releases hooks: # Run the linter - id: ruff-check args: [--fix] # Run the formatter - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml exclude: ^mkdocs\.yml$ - id: check-added-large-files - id: check-merge-conflict