Belle II Software
light-2505-deimos
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
from
b2test_utils
import
skip_test
19
20
skip_test(
"New doxygen version in latest externals."
)
21
22
if
__name__ ==
"__main__"
:
23
# run the check ignoring OrcaKinFit errors
24
ignoreme =
'Belle2::OrcaKinFit'
25
check_error_free(
"b2code-doxygen-warnings"
,
"doxygen"
,
"analysis"
,
26
lambda
x: re.findall(ignoreme, x)
or
x ==
"'"
)
analysis
tests
code-quality-doxygen.py
Generated on Tue Jun 3 2025 05:44:08 for Belle II Software by
1.13.2