# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: check-added-large-files - id: check-toml - id: check-yaml args: - --unsafe - id: end-of-file-fixer - id: trailing-whitespace - id: detect-private-key - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.3.5 hooks: # Run the linter. - id: ruff args: [ --fix ] # Run the formatter. - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy rev: 'v1.9.0' # Use the sha / tag you want to point at hooks: - id: mypy