forked from IntelLabs/hexl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
33 lines (32 loc) · 857 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (32 loc) · 857 Bytes
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
# Copyright (C) 2020-2021 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
exclude: 'docs/doxygen/'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: mixed-line-ending
- id: check-byte-order-marker
- id: check-yaml
- repo: https://github.com/crate-ci/typos
rev: v1.1.6
hooks:
- id: typos
- repo: local
hooks:
- id: clang-format-10
name: clang-format-10
entry: clang-format-10
language: system
files: \.(c|cc|cxx|cpp|h|hpp|hxx|js|proto)$
args: ["-i"]
- id: cpplint
name: cpplint
entry: cpplint
language: system
files: \.(c|cc|cxx|cpp|h|hpp|hxx)$
args:
- --recursive