Belle II Software
development
trg_cppcheck.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
Perform code quality cppchecks for every commit to the trg package.
13
"""
14
15
import
re
16
from
b2test_utils
import
check_error_free
17
18
19
if
__name__ ==
"__main__"
:
20
ignoreme =
"nofile:0:0"
21
check_error_free(
"b2code-cppcheck"
,
"cppcheck"
,
"trg"
,
22
lambda
x: re.findall(ignoreme, x)
or
x ==
"'"
)
trg
tests
trg_cppcheck.py
Generated on Tue Nov 12 2024 03:02:09 for Belle II Software by
1.9.6