forked from erikwijmans/Pointnet2_PyTorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
40 lines (34 loc) · 911 Bytes
/
.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
exclude: 'build|egg-info|dist'
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: end-of-file-fixer
- repo: https://github.com/asottile/seed-isort-config
rev: v1.9.2
hooks:
- id: seed-isort-config
language_version: python3
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.20
hooks:
- id: isort
exclude: docs/
additional_dependencies: [toml]
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3
- repo: local
hooks:
- id: clang-format
name: Run clang-format
entry: clang-format --style google -i
types: [text]
files: '.*\.cpp$|.*\.h$|.*\.cu$|.*\.hpp$'
language: system