Method: pylint.pyreverse.inspector._astroid_wrapper
Calls: 31, Exceptions: 0, Paths: 1Back
Path 1: 31 calls (1.0)
AstroidManager.ast_from_file def (31)
'/Users/andrehora/Documents/git/projects-pathspotter/pylint/tests/data/__init__.py' (8) '/Users/andrehora/Documents/git/projects-pathspotter/pylint/te...
Module (31)
1def _astroid_wrapper(
2 func: Callable[[str], nodes.Module], modname: str
3) -> nodes.Module | None:
4 print(f"parsing {modname}...")
5 try:
6 return func(modname)
7 except astroid.exceptions.AstroidBuildingException as exc:
8 print(exc)
9 except Exception: # pylint: disable=broad-except
10 traceback.print_exc()
11 return None