Lines Matching refs:report
11 def report(rule, location, description):
68 report('structure/unexpected_section', f'{file}:{lineno+1}', f'unexpected top-level title "{line}"')
73 report('style/title', f'{file}:{lineno+1}', 'overview pages should have a better title than "Overview"')
77 report('whitespace/line_length', f'{file}:{lineno+1} ({current_section})', f'line is too long ({len(line)} vs. 160 chars)')
94 report('style/numbering', f'{file}:{lineno} ({current_section})', f'undocumented overloads: {", ".join([f"({x})" for x in undocumented])}')
96 report('style/numbering', f'{file}:{lineno} ({current_section})', f'unexpected overloads: {", ".join([f"({x})" for x in unexpected])}')
104 report('structure/section_order', f'{file}:{lineno+1}', f'section "{current_section}" is in an unexpected order (should be before "{expected_sections[section_idx]}")')
108 report('structure/unknown_section', f'{file}:{lineno+1}', f'section "{current_section}" is not part of the expected sections')
127 report('style/numbering', f'{file}:{lineno+1}', f'expected number ({number}) to be ({last_overload +1 })')
131 report('style/numbering', f'{file}:{lineno+1}', f'number should be in parentheses: {line}')
138 report('whitespace/blank_lines', f'{file}:{lineno}-{lineno+1} ({current_section})', 'consecutive blank lines')
143 report('style/admonition_title', f'{file}:{lineno} ({current_section})', f'"{untitled_admonition.group(2)}" admonitions should have a title')
150 report('structure/missing_section', f'{file}:{lineno+1}', f'required section "{required_section}" was not found')
169 report('examples/missing', f'{example_file}', 'example file is not used in any documentation file')