diff options
Diffstat (limited to 'tests/roots/test-ext-autodoc/target/_functions_to_import.py')
-rw-r--r-- | tests/roots/test-ext-autodoc/target/_functions_to_import.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/roots/test-ext-autodoc/target/_functions_to_import.py b/tests/roots/test-ext-autodoc/target/_functions_to_import.py new file mode 100644 index 0000000..7663e97 --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/_functions_to_import.py @@ -0,0 +1,8 @@ +from typing import TYPE_CHECKING, Optional + +if TYPE_CHECKING: + from sphinx.application import Sphinx + + +def function_to_be_imported(app: Optional["Sphinx"]) -> str: + """docstring""" |