@@ -55,7 +55,7 @@ class Normal(AbstractPathEffect): ...
55
55
class Stroke (AbstractPathEffect ):
56
56
def __init__ (self , offset : tuple [float , float ] = ..., ** kwargs ) -> None : ...
57
57
# rgbFace becomes non-optional
58
- def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore
58
+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore[override]
59
59
60
60
class withStroke (Stroke ): ...
61
61
@@ -69,7 +69,7 @@ class SimplePatchShadow(AbstractPathEffect):
69
69
** kwargs
70
70
) -> None : ...
71
71
# rgbFace becomes non-optional
72
- def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore
72
+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore[override]
73
73
74
74
class withSimplePatchShadow (SimplePatchShadow ): ...
75
75
@@ -83,13 +83,13 @@ class SimpleLineShadow(AbstractPathEffect):
83
83
** kwargs
84
84
) -> None : ...
85
85
# rgbFace becomes non-optional
86
- def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore
86
+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore[override]
87
87
88
88
class PathPatchEffect (AbstractPathEffect ):
89
89
patch : Patch
90
90
def __init__ (self , offset : tuple [float , float ] = ..., ** kwargs ) -> None : ...
91
91
# rgbFace becomes non-optional
92
- def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore
92
+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore[override]
93
93
94
94
class TickedStroke (AbstractPathEffect ):
95
95
def __init__ (
@@ -101,6 +101,6 @@ class TickedStroke(AbstractPathEffect):
101
101
** kwargs
102
102
) -> None : ...
103
103
# rgbFace becomes non-optional
104
- def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore
104
+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType ) -> None : ... # type: ignore[override]
105
105
106
106
class withTickedStroke (TickedStroke ): ...
0 commit comments