From ba1c2850c5fc0caac22aee3fccd97883f576d941 Mon Sep 17 00:00:00 2001 From: Vince Reuter Date: Thu, 21 Mar 2024 20:29:12 +0100 Subject: [PATCH] take PR suggestion from @tlamber03 to homogenise treatment of type names to preempt reader confusion --- _docs/example_plugin/some_module.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_docs/example_plugin/some_module.py b/_docs/example_plugin/some_module.py index d6d54232..e36fa801 100644 --- a/_docs/example_plugin/some_module.py +++ b/_docs/example_plugin/some_module.py @@ -5,11 +5,10 @@ from magicgui import magic_factory from qtpy.QtWidgets import QWidget -from npe2.types import LayerData, PathOrPaths, ReaderFunction - if TYPE_CHECKING: import napari.types import napari.viewer + from npe2.types import LayerData, PathOrPaths, ReaderFunction def write_points(path: str, layer_data: Any, attributes: Dict[str, Any]) -> List[str]: