repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-merge-conflict - id: check-toml - id: check-yaml - id: end-of-file-fixer - id: mixed-line-ending args: [--fix=lf] - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - repo: local hooks: - id: ruff name: ruff description: This hook runs ruff within our project's environment. entry: poetry run ruff language: system types: [python]