(filename, raw_lines_no_comments, linenum, error)
| 7259 | # If the line above is blank (excluding comments) or the start of |
| 7260 | # an inner namespace, it cannot be indented. |
| 7261 | def CheckItemIndentationInNamespace(filename, raw_lines_no_comments, linenum, error): |
| 7262 | line = raw_lines_no_comments[linenum] |
| 7263 | if re.match(r"^\s+", line): |
| 7264 | error( |
| 7265 | filename, linenum, "whitespace/indent_namespace", 4, "Do not indent within a namespace." |
| 7266 | ) |
| 7267 | |
| 7268 | |
| 7269 | def ProcessLine( |
no outgoing calls
no test coverage detected