(filename, raw_lines_no_comments, linenum, error)
| 7403 | # If the line above is blank (excluding comments) or the start of |
| 7404 | # an inner namespace, it cannot be indented. |
| 7405 | def CheckItemIndentationInNamespace(filename, raw_lines_no_comments, linenum, error): |
| 7406 | line = raw_lines_no_comments[linenum] |
| 7407 | if re.match(r"^\s+", line): |
| 7408 | error( |
| 7409 | filename, linenum, "whitespace/indent_namespace", 4, "Do not indent within a namespace." |
| 7410 | ) |
| 7411 | |
| 7412 | |
| 7413 | def CheckLocalVectorUsage(filename, lines, error): |
no test coverage detected
searching dependent graphs…