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