Belle II Software development
klm_cppcheck.py
1#!/usr/bin/env python3
2
3
10
11"""
12Perform code quality cppchecks for every commit to the klm package.
13"""
14
15import re
16from b2test_utils import check_error_free
17
18if __name__ == "__main__":
19 ignoreme = "nofile:0:0"
20 check_error_free("b2code-cppcheck", "cppcheck", "klm",
21 lambda x: re.findall(ignoreme, x) or x == "'")