Skip to content

Commit 43c55c9

Browse files
committed
Fix CI
1 parent f6fac56 commit 43c55c9

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

buildconfig/stubs/pygame/display.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ def update(rectangles: Iterable[Optional[RectLike]], /) -> None: ...
310310
@overload
311311
def update(x: float, y: float, w: float, h: float, /) -> None: ...
312312
@overload
313-
def update(xy: Point, wh: Point, /) -> None:
313+
def update(xy: Point, wh: Point, /) -> None: ...
314+
def update(*args): # type: ignore
314315
"""Update all, or a portion, of the display. For non-OpenGL displays.
315316
316317
For non OpenGL display Surfaces, this function is very similar to

buildconfig/stubs/pygame/draw.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def aacircle(
231231
draw_bottom_left: bool = False,
232232
draw_bottom_right: bool = False,
233233
) -> Rect: ...
234-
def aacircle(*args, **kwargs):
234+
def aacircle(*args, **kwargs): # type: ignore
235235
"""Draw an antialiased circle.
236236
237237
Draws an antialiased circle on the given surface.

buildconfig/stubs/pygame/surface.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class Surface:
290290
def convert(self, masks: ColorLike, flags: int = 0, /) -> Surface: ...
291291
@overload
292292
def convert(self) -> Surface: ...
293-
def convert(self, *args):
293+
def convert(self, *args): # type: ignore
294294
"""Change the pixel format of a surface.
295295
296296
Creates a new copy of the Surface with the pixel format changed. The new
@@ -401,7 +401,7 @@ class Surface:
401401
def set_colorkey(self, color: ColorLike, flags: int = 0, /) -> None: ...
402402
@overload
403403
def set_colorkey(self, color: None, /) -> None: ...
404-
def set_colorkey(self, *args):
404+
def set_colorkey(self, *args): # type: ignore
405405
"""Set the transparent colorkey.
406406
407407
Set the current color key for the Surface. When blitting this Surface
@@ -429,7 +429,7 @@ class Surface:
429429
def set_alpha(self, value: int, flags: int = 0, /) -> None: ...
430430
@overload
431431
def set_alpha(self, value: None, /) -> None: ...
432-
def set_alpha(self, *args):
432+
def set_alpha(self, *args): # type: ignore
433433
"""Set the alpha value for the full Surface.
434434
435435
Set the current alpha value for the Surface. When blitting this Surface
@@ -679,7 +679,7 @@ class Surface:
679679
def subsurface(
680680
self, left: float, top: float, width: float, height: float, /
681681
) -> Surface: ...
682-
def subsurface(self, *args):
682+
def subsurface(self, *args): # type: ignore
683683
"""Create a new surface that references its parent.
684684
685685
Returns a new Surface that shares its pixels with its new parent. The new

0 commit comments

Comments
 (0)