Belle II Software
light-2406-ragdoll
code-quality-doxygen.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
Perform code doxygen checks 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
# run the check ignoring OrcaKinFit errors
21
ignoreme =
'Belle2::OrcaKinFit'
22
check_error_free(
"b2code-doxygen-warnings"
,
"doxygen"
,
"analysis"
,
23
lambda
x: re.findall(ignoreme, x)
or
x ==
"'"
)
analysis
tests
code-quality-doxygen.py
Generated on Tue Jul 9 2024 23:27:16 for Belle II Software by
1.9.6