exclude: docs|tests/test_extract/files/.*

repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.3.0
    hooks:
    -   id: check-yaml
    -   id: end-of-file-fixer
    -   id: trailing-whitespace
    -   id: check-added-large-files
    -   id: check-merge-conflict
    -   id: mixed-line-ending

- repo: https://github.com/myint/autoflake
  rev: v1.4
  hooks:
    - id: autoflake

- repo: https://github.com/astral-sh/ruff-pre-commit
  # Ruff version.
  rev: v0.1.5
  hooks:
    # Run the formatter.
    - id: ruff-format
