Skip to content

Commit

Permalink
fix: Pass down modules collection when inspecting
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed May 12, 2024
1 parent 776063d commit bc0f74b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/griffe/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ def _inspect_module(self, module_name: str, filepath: Path | None = None, parent
docstring_parser=self.docstring_parser,
docstring_options=self.docstring_options,
lines_collection=self.lines_collection,
modules_collection=self.modules_collection,
)
except SystemExit as error:
raise ImportError(f"Importing '{module_name}' raised a system exit") from error
Expand Down

0 comments on commit bc0f74b

Please sign in to comment.