Skip to content

Commit 8a509fb

Browse files
committed
Add type ignore until python/typeshed#8716 is released
1 parent 26e10e4 commit 8a509fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sphinx_mdinclude/sphinx.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
from docutils.parsers.rst import directives as rst_directives
1111

1212
try: # new
13-
from docutils.io import error_string as ErrorString
13+
from docutils.io import ( # type: ignore # typeshed #8716
14+
error_string as ErrorString,
15+
)
1416

1517
SafeString = str
1618
except ImportError: # old

0 commit comments

Comments
 (0)