forked from chuanli1/oneVPL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
49 lines (49 loc) · 1.22 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
48
49
# pre-commit configuration file
# You may automatically run pre-commit when committing
# by installing hooks as follows:
# pre-commit install
# pre-commit install --hook-type commit-msg
---
fail_fast: false
default_language_version:
python: python3
exclude: /ext/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: check-yaml
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.29.0
hooks:
- id: yapf
- repo: https://github.com/PyCQA/pylint
rev: v2.8.2
hooks:
- id: pylint
args:
[
"--disable=import-error,no-name-in-module,duplicate-code",
]
- repo: https://github.com/iconmaster5326/cmake-format-pre-commit-hook
rev: v0.6.9
hooks:
- id: cmake-format
- repo: https://github.com/pocc/pre-commit-hooks
rev: v1.1.1
hooks:
- id: clang-format
args: [-i]
- repo: https://github.com/cpplint/cpplint
rev: 1.5.5
hooks:
- id: cpplint
files: \.(h|hh|hpp|hxx|h|c|cc|cpp|cxx|c)$
- repo: https://github.com/jorisroovers/gitlint
rev: v0.15.1
hooks:
- id: gitlint
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
hooks:
- id: bandit