Belle II Software
light-2405-quaxo
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Variables
Typedefs
a
b
c
d
l
m
n
p
r
s
w
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
c
d
e
f
h
i
m
o
p
r
s
t
v
w
Enumerations
b
c
e
g
h
m
p
s
t
v
Enumerator
b
c
k
t
Related Functions
Files
File List
File Members
All
Functions
code-quality-cppcheck.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
Perform code quality cppchecks for every commit to the analysis package.
13
Eventually these checks can be included as git hooks.
14
"""
15
16
import
re
17
from
b2test_utils
import
check_error_free
18
19
if
__name__ ==
"__main__"
:
20
# ignore the nofile .. [missingInclude] that is always at the end of cppcheck
21
ignoreme =
'Cppcheck cannot find all the include files'
22
check_error_free(
"b2code-cppcheck"
,
"cppcheck"
,
"analysis"
,
23
lambda
x: re.findall(ignoreme, x)
or
x ==
"'"
)
analysis
tests
code-quality-cppcheck.py
Generated on Mon Jun 24 2024 17:50:17 for Belle II Software by
1.9.6