-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
44 lines (44 loc) · 1.05 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
43
44
fail_fast: false
exclude: clib/caml
repos:
- repo: https://github.com/arenadotio/pre-commit-ocamlformat
rev: master
rev: 0439858f79b3bcb49e757278eb1312e212d7dd4f
hooks:
- id: ocamlformat
exclude: "data/"
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
exclude: test.py
- repo: https://github.com/ambv/black
rev: 22.3.0
hooks:
- id: black
language_version: python3.8
exclude: test.py
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: flake8
exclude: test.py
- id: end-of-file-fixer
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.6
hooks:
- id: shellcheck
- id: shfmt
- repo: local
hooks:
- id: run-tests
name: Run unit tests
entry: ./unittest.sh
language: script
types:
- directory
always_run: true