forked from milvus-io/knowhere
-
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) · 903 Bytes
/
.pre-commit-config.yaml
File metadata and controls
33 lines (32 loc) · 903 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
# Pre-commit hook
# See documentation at: https://pre-commit.com/
#
# Pre-commit hook to run the sanity checks from Jenkins locally.
#
# Requirements:
# - How to configure:
# - $ pip install pre-commit
# - $ pre-commit install --hook-type pre-push
# - How to prevent running it:
# - git options: --no-verify or -n
# - $ git commit -n -m "YOUR COMMIT MESSAGE"
# - How to run it as standalone
# - $ pre-commit run
#
#
default_language_version:
python: python3.8
exclude: '^thirdparty'
fail_fast: True
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.6
hooks:
- id: clang-format