repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.5.0
  hooks:
    - id: trailing-whitespace
    - id: end-of-file-fixer
    - id: check-yaml
    - id: detect-private-key
    - id: check-merge-conflict
    - id: check-case-conflict
    - id: check-docstring-first
    - id: check-builtin-literals

- repo: https://github.com/asottile/setup-cfg-fmt
  rev: v2.5.0
  hooks:
    - id: setup-cfg-fmt

- repo: https://github.com/dizballanze/gray
  rev: v0.14.0
  hooks:
    - id: gray
