diff options
| author | capellancitizen <thecapellancitizen@gmail.com> | 2025-03-09 21:21:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 21:21:48 -0400 |
| commit | 99509df8d8abf1e7b701a4a09cf170a362f6d878 (patch) | |
| tree | a461549502fa9f37dc287789b6c7db81dfcd5368 /lib/sew_stack | |
| parent | 0d2fc24f25f87562f0755b53dad6204efad1330d (diff) | |
Mypy type correctness (#3199)
Diffstat (limited to 'lib/sew_stack')
| -rw-r--r-- | lib/sew_stack/stitch_layers/stitch_layer.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sew_stack/stitch_layers/stitch_layer.py b/lib/sew_stack/stitch_layers/stitch_layer.py index 4b34373a..615a36e8 100644 --- a/lib/sew_stack/stitch_layers/stitch_layer.py +++ b/lib/sew_stack/stitch_layers/stitch_layer.py @@ -1,10 +1,12 @@ +from typing import Type from ...utils import coordinate_list_to_point_list from ...utils.dotdict import DotDict +from .stitch_layer_editor import StitchLayerEditor class StitchLayer: # must be overridden in child classes and set to a subclass of StitchLayerEditor - editor_class = None + editor_class: Type[StitchLayerEditor] = None # type:ignore[assignment] # not to be overridden in child classes _defaults = None |
