Skip to content

Commit 2098ca6

Browse files
committed
Fix mypy issue
1 parent e11f200 commit 2098ca6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lazydocs/generation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,7 @@ def generate_docs(
999999
module_name,
10001000
path,
10011001
)
1002+
assert spec is not None
10021003
mod = importlib.util.module_from_spec(spec)
10031004
spec.loader.exec_module(mod) # type: ignore
10041005

0 commit comments

Comments
 (0)