aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 636099240c990955011a617375086e9f5b78fc8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
default_stages: [commit]
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.1
    hooks:
    -   id: check-executables-have-shebangs
    -   id: forbid-new-submodules
    -   id: check-yaml
    -   id: check-symlinks
    -   id: destroyed-symlinks
-   repo: https://github.com/ambv/black
    rev: 22.6.0
    hooks:
    - id: black
-   repo: https://github.com/igorshubovych/markdownlint-cli
    rev: v0.33.0
    hooks:
    - id: markdownlint
      args: ['--fix']
-   repo: local
    hooks:
    - id: check-whence
      name: Check whence
      files: 'WHENCE'
      language: script
      entry: ./check_whence.py