(filename, nesting_state, clean_lines, line, error)
| 4054 | |
| 4055 | |
| 4056 | def CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line, error): |
| 4057 | is_namespace_indent_item = len(nesting_state.stack) >= 1 and ( |
| 4058 | isinstance(nesting_state.stack[-1], _NamespaceInfo) |
| 4059 | or (isinstance(nesting_state.previous_stack_top, _NamespaceInfo)) |
| 4060 | ) |
| 4061 | |
| 4062 | if ShouldCheckNamespaceIndentation( |
| 4063 | nesting_state, is_namespace_indent_item, clean_lines.elided, line |
| 4064 | ): |
| 4065 | CheckItemIndentationInNamespace(filename, clean_lines.elided, line, error) |
| 4066 | |
| 4067 | |
| 4068 | def CheckForFunctionLengths(filename, clean_lines, linenum, function_state, error): |
no test coverage detected
searching dependent graphs…