default_language_version:
    python: python3.12

repos:
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v4.5.0
        hooks:
        -   id: check-yaml
        -   id: end-of-file-fixer
        -   id: trailing-whitespace
    -   repo: https://github.com/psf/black-pre-commit-mirror
        rev: 23.12.1
        hooks:
        -   id: black
    - repo: https://github.com/pycqa/isort
      rev: 5.13.2
      hooks:
      - id: isort
        args: [rioxarray/, test/, docs/]
    -   repo: https://github.com/asottile/blacken-docs
        rev: 1.16.0
        hooks:
        -   id: blacken-docs
            args: [--skip-errors]
    -   repo: https://github.com/pycqa/flake8
        rev: 6.1.0
        hooks:
        -   id: flake8
