forked from GrammaTech/gtirb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
47 lines (47 loc) · 1.18 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
45
46
47
repos:
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
args: ["--line-length", "79"]
- id: black
name: black (.pyi)
args: ["--line-length", "79"]
types: [pyi]
- repo: local
hooks:
- id: clang-format
name: clang-format
language: system
files: \.(c|h|cpp|hpp|proto|java)$
entry: clang-format -i
- repo: https://github.com/eschulte/lisp-format
rev: master
hooks:
- id: lisp-format
name: lisp-format
args: [-style=file]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
args: ["--chars"," \t"]
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: mixed-line-ending
- repo: https://github.com/iconmaster5326/cmake-format-pre-commit-hook
rev: v0.6.2
hooks:
- id: cmake-format
exclude: build
- repo: https://github.com/timothycrosley/isort
rev: 4.3.19
hooks:
- id: isort
files: \.py$
- repo: https://gitlab.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8