(filename, nesting_state, clean_lines, line,
error)
| 3526 | |
| 3527 | |
| 3528 | def CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line, |
| 3529 | error): |
| 3530 | is_namespace_indent_item = ( |
| 3531 | len(nesting_state.stack) > 1 and |
| 3532 | nesting_state.stack[-1].check_namespace_indentation and |
| 3533 | isinstance(nesting_state.previous_stack_top, _NamespaceInfo) and |
| 3534 | nesting_state.previous_stack_top == nesting_state.stack[-2]) |
| 3535 | |
| 3536 | if ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item, |
| 3537 | clean_lines.elided, line): |
| 3538 | CheckItemIndentationInNamespace(filename, clean_lines.elided, |
| 3539 | line, error) |
| 3540 | |
| 3541 | |
| 3542 | def CheckForFunctionLengths(filename, clean_lines, linenum, |
no test coverage detected