def check_imports(self) -> None:
    'Check the projects top level directory for missing imports.\n\n        This method will check only files ending in **.py** and does not handle imports validation\n        for sub-directories.\n        '
    for filename in sorted(os.listdir(self.app_path)):
        if (not filename.endswith('.py')):
            continue
        fq_path = os.path.join(self.app_path, filename)
        with open(fq_path, 'rb') as f:
            code_lines = deque([(f.read(), 1)])
            while code_lines:
                (code, _) = code_lines.popleft()
                try:
                    parsed_code = ast.parse(code)
                    for node in ast.walk(parsed_code):
                        self._check_node_import(node, filename)
                except SyntaxError:
                    pass
Check the projects top level directory for missing imports.

This method will check only files ending in **.py** and does not handle imports validation
for sub-directories.
def check_imports(self) -> None:
    'Check the projects top level directory for missing imports.\n\n        This method will check only files ending in **.py** and does not handle imports validation\n        for sub-directories.\n        '
    for filename in sorted(os.listdir(self.app_path)):
        if (not filename.endswith('.py')):
            continue
        fq_path = os.path.join(self.app_path, filename)
        with open(fq_path, 'rb') as f:
            code_lines = deque([(f.read(), 1)])
            while code_lines:
                (code, _) = code_lines.popleft()
                try:
                    parsed_code = ast.parse(code)
                    for node in ast.walk(parsed_code):
                        self._check_node_import(node, filename)
                except SyntaxError:
                    pass