Skip to content

Commit f6f77a1

Browse files
authored
Fix docs build error caused by issues with the _typeshed module (#671)
1 parent b3f7b13 commit f6f77a1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/source/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@
8383
import pandas # isort:skip
8484
import numpy.typing as npt # isort:skip
8585

86+
# The _typeshed module is not available during docs build, hence, we import
87+
# modules that require this module before setting the type checking flag.
88+
import scipy.stats # isort:skip
89+
8690
# The autodocs typehints plugin does not resolve circular imports caused by type
8791
# annotations, so we have to manually break the circles.
8892
import rich.console # isort:skip

docs/source/vara-ts-api/experiments/just_compile.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Experiment: JustCompile
22
=======================
33

44
.. literalinclude:: ../../../../varats/varats/experiments/base/just_compile.py
5-
:lines: 26-66,68-99
5+
:lines: 26-59,63-94
66

77
Module: JustCompile
88
-------------------

0 commit comments

Comments
 (0)