summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: 581cb69b2ceb4cbdc00b3013e2ce4c063fde23f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
repos:
  - repo: https://github.com/PyCQA/flake8
    rev: 6.0.0
    hooks:
      - id: flake8
        additional_dependencies:
          [
            flake8-bugbear==22.12.6,
            flake8-comprehensions==3.10.1,
            flake8-typing-imports==1.14.0,
          ]
        exclude: ^doc|^git/ext/|^test/

  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: check-merge-conflict
      - id: check-toml
      - id: check-yaml