Skip to content

Commit

Permalink
Fix mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmasuch committed Jun 30, 2021
1 parent e11f200 commit 2098ca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lazydocs/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,7 @@ def generate_docs(
module_name,
path,
)
assert spec is not None
mod = importlib.util.module_from_spec(spec)
spec.loader.exec_module(mod) # type: ignore

Expand Down

0 comments on commit 2098ca6

Please sign in to comment.