Belle II Software
release-05-01-25
code-quality-doxygen.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
"""
5
Perform code doxygen checks for every commit to the analysis package.
6
Eventually these checks can be included as git hooks.
7
"""
8
9
import
re
10
from
b2test_utils
import
check_error_free
11
12
if
__name__ ==
"__main__"
:
13
# run the check ignoring OrcaKinFit errors
14
ignoreme =
'Belle2::OrcaKinFit'
15
check_error_free(
"b2code-doxygen-warnings"
,
"doxygen"
,
"analysis"
,
16
lambda
x: re.findall(ignoreme, x)
or
x
is
"'"
)
analysis
tests
code-quality-doxygen.py
Generated on Fri Nov 5 2021 03:46:08 for Belle II Software by
1.8.17