(filename, nesting_state, clean_lines, line, error)
| 3986 | |
| 3987 | |
| 3988 | def CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line, error): |
| 3989 | is_namespace_indent_item = len(nesting_state.stack) >= 1 and ( |
| 3990 | isinstance(nesting_state.stack[-1], _NamespaceInfo) |
| 3991 | or (isinstance(nesting_state.previous_stack_top, _NamespaceInfo)) |
| 3992 | ) |
| 3993 | |
| 3994 | if ShouldCheckNamespaceIndentation( |
| 3995 | nesting_state, is_namespace_indent_item, clean_lines.elided, line |
| 3996 | ): |
| 3997 | CheckItemIndentationInNamespace(filename, clean_lines.elided, line, error) |
| 3998 | |
| 3999 | |
| 4000 | def CheckForFunctionLengths(filename, clean_lines, linenum, function_state, error): |
no test coverage detected