summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 1b33320b27b7e98a3873e24826553b43e25f1649 (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
27
exclude: .pre-commit-config.yaml|(.*autogen.*py)|(.*mcdpr1\.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.4.0
- hooks:
  - args: [-l, '110', -t, py310]
    id: black
  repo: https://github.com/psf/black
  rev: 23.1.0
- 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.2.2
- hooks:
  - {id: sort-all}
  repo: https://github.com/aio-libs/sort-all
  rev: v1.2.0

# sigil a98d289e6191fbd525fea7519a6ece40