-
Notifications
You must be signed in to change notification settings - Fork 88
/
.pre-commit-config.yaml
41 lines (39 loc) · 1.32 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
ci:
autofix_commit_msg: |
[pre-commit.ci] auto code formatting
autofix_prs: true
autoupdate_branch: ''
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: quarterly
skip: []
submodules: false
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
hooks:
- id: clang-format
types_or: [c, c++, cuda]
args: ['-fallback-style=none', '-style=file', '-i']
- repo: local
hooks:
- id: check-doxygen
name: check-doxygen
entry: ./ci/pre-commit/doxygen.sh
files: ^include/
types_or: [file]
language: system
pass_filenames: false
verbose: true
- id: check-example-links
name: check-example-links
entry: ./ci/pre-commit/example_links.py
files: ^examples/
types: [cuda]
language: python
pass_filenames: false
verbose: true
additional_dependencies:
- --extra-index-url=https://pypi.anaconda.org/rapidsai-wheels-nightly/simple
- gitpython
default_language_version:
python: python3