From 0b269d74d09b894b5113ee0d595d18be96124336 Mon Sep 17 00:00:00 2001 From: MeexReay Date: Sat, 20 Sep 2025 17:53:40 +0300 Subject: [PATCH] some ruff format --- src/pygwin2/gamepad.py | 1 + src/pygwin2/image.py | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pygwin2/gamepad.py b/src/pygwin2/gamepad.py index 7bf34ff..9d4ea93 100644 --- a/src/pygwin2/gamepad.py +++ b/src/pygwin2/gamepad.py @@ -1,6 +1,7 @@ import inputs as _inputs import threading as _threading + class gamepad: def __init__(self, pygame): self._lasty = "" diff --git a/src/pygwin2/image.py b/src/pygwin2/image.py index 478f635..6864301 100644 --- a/src/pygwin2/image.py +++ b/src/pygwin2/image.py @@ -36,9 +36,7 @@ def save(surf, dest): def toBytes(surf): return bz2.compress( - pickle.dumps( - [pygame.image.tostring(surf._grp(), "RGBA"), list(surf.size)] - ) + pickle.dumps([pygame.image.tostring(surf._grp(), "RGBA"), list(surf.size)]) )