forked from fourmolu/fourmolu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
42 lines (39 loc) · 1.04 KB
/
.pre-commit-config.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
repos:
- repo: local
hooks:
- id: fourmolu
name: fourmolu
entry: scripts/run-fourmolu.sh --mode=inplace
language: system
files: '\.(hs|hs-boot)$'
exclude: |
(?x)^(
region-tests/(?!Main.hs)
| fixity-tests/(?!Main.hs)
| data/examples/
| data/fourmolu/
| data/diff-tests/
| data/parse-failures/
)
- repo: https://github.com/psf/black
rev: '22.3.0'
hooks:
- id: black
- repo: local
hooks:
- id: pyright
name: pyright
entry: pyright
language: node
pass_filenames: false
types: [python]
additional_dependencies: ['[email protected]']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-merge-conflict
- id: check-symlinks
# do not turn these on, to prevent merge conflicts when
# merging upstream ormolu changes
# - id: end-of-file-fixer
# - id: trailing-whitespace