(filename, nesting_state, clean_lines, line,
error)
| 3033 | |
| 3034 | |
| 3035 | def CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line, |
| 3036 | error): |
| 3037 | is_namespace_indent_item = ( |
| 3038 | len(nesting_state.stack) > 1 and |
| 3039 | nesting_state.stack[-1].check_namespace_indentation and |
| 3040 | isinstance(nesting_state.previous_stack_top, _NamespaceInfo) and |
| 3041 | nesting_state.previous_stack_top == nesting_state.stack[-2]) |
| 3042 | |
| 3043 | if ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item, |
| 3044 | clean_lines.elided, line): |
| 3045 | CheckItemIndentationInNamespace(filename, clean_lines.elided, |
| 3046 | line, error) |
| 3047 | |
| 3048 | |
| 3049 | def CheckForFunctionLengths(filename, clean_lines, linenum, |
no test coverage detected