summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: a5c6e90d7a15dd722aa68b6312474bb9295f5c08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
exclude: .pre-commit-config.yaml
files: (^src/.*py)|(.*yaml)
repos:
- hooks:
  - {id: check-added-large-files}
  - {id: check-case-conflict}
  - {id: check-executables-have-shebangs}
  - {id: check-merge-conflict}
  - {id: check-symlinks}
  repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.1.0
- hooks:
  - args: [-l, '110', -t, py38]
    id: black
  repo: https://github.com/psf/black
  rev: 21.12b0
- hooks:
  - args: [--mapping, '2', --sequence, '2', --offset, '0', --width, '150', --preserve-quotes]
    id: yamlfmt
  repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
  rev: 0.1.0

# sigil 1b050e28e72b639bc7781ce39208defb