Skip to content

Commit 96120e6

Browse files
committed
cli: check doc_module is not None
1 parent a4425b0 commit 96120e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stagpy/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def _load_mplstyle(conf: Config) -> None:
5555
plt.xkcd()
5656

5757

58+
assert doc_module is not None
5859
SUB_CMDS = MappingProxyType(
5960
{
6061
"common_": Subcmd(doc_module, "common", func=_bare_cmd),

0 commit comments

Comments
 (0)