-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbbp-project.yaml
More file actions
88 lines (72 loc) · 1.85 KB
/
bbp-project.yaml
File metadata and controls
88 lines (72 loc) · 1.85 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
tools:
# a tool is implicitly enabled when specified here unless explicitely disabled
# not all sections are mandatory, not mentioning a tool means it is not enabled.
ClangFormat:
enable: False
# Any Python version specifiers as described in PEP 440
# https://peps.python.org/pep-0440/#compatible-release
# For instance:
#
# Exact match required: == 13.0.0
# At least 13.0.1, but less than 13.1: >= 13.0.1, == 13.0.*
# Same as above: ~= 13.0.1
version: ~=13.0
# appended to clang-format command line before the file to process. Can be:
# - None
# - a string
# - a list of string
option:
include:
match:
- .*\.[it]?cc?$
- .*\.hh?$
- .*\.[chit]((pp)|(xx))$
CMakeFormat:
enable: False
version: ~=0.6
include:
match:
- .*\.cmake$
- .*CMakeLists.txt$
ClangTidy:
# static analysis with ClangTidy is explicitely disabled
enable: False
version: ">=7"
option: -extra-arg=-Wno-unknown-warning-option
# can specify path to JSON Clang database here, or through CLI which takes precedence
compile_commands_file:
include:
match: .*\.c((c)|(pp)|(xx))$
Flake8:
enable: False
version: ">=4"
option:
- --import-order-style
- google
# Additional Python packages to install
requirements:
- flake8-import-order
include:
match:
- .*\.py$
Black:
enable: False
version: ~=22.3
# will come later
# PreCommit:
# enable: False
# version: ">=2.10"
# hooks:
# commit:
# - check-clang-format
# - check-cmake-format
# push:
# - clang-tidy
# - courtesy-msg
# Global settings to every tool, can be locally overriden within the
# section config of a tool
global:
exclude:
match:
- third[-_]party/.*
- third[-_]parties/.*