(filename, nesting_state, clean_lines, line,
error)
| 3540 | |
| 3541 | |
| 3542 | def CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line, |
| 3543 | error): |
| 3544 | is_namespace_indent_item = ( |
| 3545 | len(nesting_state.stack) > 1 and |
| 3546 | nesting_state.stack[-1].check_namespace_indentation and |
| 3547 | isinstance(nesting_state.previous_stack_top, _NamespaceInfo) and |
| 3548 | nesting_state.previous_stack_top == nesting_state.stack[-2]) |
| 3549 | |
| 3550 | if ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item, |
| 3551 | clean_lines.elided, line): |
| 3552 | CheckItemIndentationInNamespace(filename, clean_lines.elided, |
| 3553 | line, error) |
| 3554 | |
| 3555 | |
| 3556 | def CheckForFunctionLengths(filename, clean_lines, linenum, |
no test coverage detected