From 4ec745d3eeac44564805d650b2e46013c6f237bb Mon Sep 17 00:00:00 2001 From: Lucas Heitzmann Gabrielli Date: Fri, 29 Dec 2023 09:30:51 -0300 Subject: [PATCH] Fix type annotation (#221) Signed-off-by: Lucas Heitzmann Gabrielli --- gdstk/gdstk.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdstk/gdstk.pyi b/gdstk/gdstk.pyi index f17d20917..ce6941db1 100644 --- a/gdstk/gdstk.pyi +++ b/gdstk/gdstk.pyi @@ -81,8 +81,8 @@ class Cell: outfile: str | pathlib.Path, scaling: float = 10, precision: int = 6, - shape_style: Optional[dict[tuple[int, int], str]] = None, - label_style: Optional[dict[tuple[int, int], str]] = None, + shape_style: Optional[dict[tuple[int, int], dict[str, str]]] = None, + label_style: Optional[dict[tuple[int, int], dict[str, str]]] = None, background: str = "#222222", pad: float | str = "5%", sort_function: Optional[Callable[[Polygon, Polygon], bool]] = None,