Skip to content

Commit

Permalink
take PR suggestion from @tlamber03 to homogenise treatment of type na…
Browse files Browse the repository at this point in the history
…mes to preempt reader confusion
  • Loading branch information
vreuter committed Mar 21, 2024
1 parent c7236b2 commit ba1c285
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _docs/example_plugin/some_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit ba1c285

Please sign in to comment.