Belle II Software
development
framework_cppcheck.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
Perform code quality cppchecks for every commit to the framework package.
13
"""
14
15
import
re
16
from
b2test_utils
import
check_error_free
17
18
if
__name__ ==
"__main__"
:
19
20
ignoreme =
'Cppcheck cannot find all the include files'
21
check_error_free(
"b2code-cppcheck"
,
"cppcheck"
,
"framework"
,
22
lambda
x: re.findall(ignoreme, x)
or
x ==
"'"
)
framework
tests
framework_cppcheck.py
Generated on Fri Nov 8 2024 02:37:58 for Belle II Software by
1.9.6