Belle II Software development
code-quality-doxygen.py
1#!/usr/bin/env python3
2
3
10
11"""
12Perform code doxygen checks for every commit to the analysis package.
13Eventually these checks can be included as git hooks.
14"""
15
16import re
17from b2test_utils import check_error_free
18from b2test_utils import skip_test
19
20skip_test("New doxygen version in latest externals.")
21
22if __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 == "'")