@@ -323,7 +323,7 @@ def from_lines(
323323 def from_lines (
324324 cls ,
325325 array : npt .NDArray [Any ] | Sequence [Any ],
326- dtype : npt .DTypeLike = ...,
326+ dtype : npt .DTypeLike | None = ...,
327327 * ,
328328 copy : bool = ...,
329329 start_index : SupportsIndex | None = ...,
@@ -337,7 +337,7 @@ def from_lines(
337337 def from_lines (
338338 cls ,
339339 array : npt .NDArray [Any ] | Sequence [Any ],
340- dtype : npt .DTypeLike = None ,
340+ dtype : npt .DTypeLike | None = None ,
341341 * ,
342342 copy : bool = True ,
343343 start_index : SupportsIndex | None = 0 ,
@@ -433,7 +433,7 @@ def from_port(
433433 cls ,
434434 array : npt .NDArray [Any ] | Sequence [Any ],
435435 mask : SupportsIndex | None = ...,
436- dtype : npt .DTypeLike = ...,
436+ dtype : npt .DTypeLike | None = ...,
437437 * ,
438438 bitorder : Literal ["big" , "little" ] = ...,
439439 start_index : SupportsIndex | None = ...,
@@ -447,7 +447,7 @@ def from_port(
447447 cls ,
448448 array : npt .NDArray [Any ] | Sequence [Any ],
449449 mask : SupportsIndex | None = None ,
450- dtype : npt .DTypeLike = None ,
450+ dtype : npt .DTypeLike | None = None ,
451451 * ,
452452 bitorder : Literal ["big" , "little" ] = "big" ,
453453 start_index : SupportsIndex | None = 0 ,
@@ -575,7 +575,7 @@ def from_ports(
575575 cls ,
576576 array : npt .NDArray [Any ] | Sequence [Any ],
577577 masks : Sequence [SupportsIndex ] | None = ...,
578- dtype : npt .DTypeLike = ...,
578+ dtype : npt .DTypeLike | None = ...,
579579 * ,
580580 bitorder : Literal ["big" , "little" ] = ...,
581581 start_index : SupportsIndex | None = ...,
@@ -589,7 +589,7 @@ def from_ports(
589589 cls ,
590590 array : npt .NDArray [Any ] | Sequence [Any ],
591591 masks : Sequence [SupportsIndex ] | None = None ,
592- dtype : npt .DTypeLike = None ,
592+ dtype : npt .DTypeLike | None = None ,
593593 * ,
594594 bitorder : Literal ["big" , "little" ] = "big" ,
595595 start_index : SupportsIndex | None = 0 ,
@@ -765,7 +765,7 @@ def __init__( # noqa: D107 - Missing docstring in __init__ (auto-generated noqa
765765 self : DigitalWaveform [Any ],
766766 sample_count : SupportsIndex | None = ...,
767767 signal_count : SupportsIndex | None = ...,
768- dtype : npt .DTypeLike = ...,
768+ dtype : npt .DTypeLike | None = ...,
769769 default_value : bool | int | DigitalState | None = ...,
770770 * ,
771771 data : npt .NDArray [Any ] | None = ...,
@@ -780,7 +780,7 @@ def __init__(
780780 self ,
781781 sample_count : SupportsIndex | None = None ,
782782 signal_count : SupportsIndex | None = None ,
783- dtype : npt .DTypeLike = None ,
783+ dtype : npt .DTypeLike | None = None ,
784784 default_value : bool | int | DigitalState | None = None ,
785785 * ,
786786 data : npt .NDArray [Any ] | None = None ,
@@ -860,7 +860,7 @@ def _init_with_new_array(
860860 self ,
861861 sample_count : SupportsIndex | None = None ,
862862 signal_count : SupportsIndex | None = None ,
863- dtype : npt .DTypeLike = None ,
863+ dtype : npt .DTypeLike | None = None ,
864864 default_value : bool | int | DigitalState | None = None ,
865865 * ,
866866 start_index : SupportsIndex | None = None ,
@@ -895,7 +895,7 @@ def _init_with_new_array(
895895 def _init_with_provided_array (
896896 self ,
897897 data : npt .NDArray [TDigitalState ],
898- dtype : npt .DTypeLike = None ,
898+ dtype : npt .DTypeLike | None = None ,
899899 * ,
900900 start_index : SupportsIndex | None = None ,
901901 sample_count : SupportsIndex | None = None ,
0 commit comments