mini-arcade-core 0.7.4__py3-none-any.whl → 0.7.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mini_arcade_core/game.py +3 -0
- {mini_arcade_core-0.7.4.dist-info → mini_arcade_core-0.7.5.dist-info}/METADATA +1 -1
- {mini_arcade_core-0.7.4.dist-info → mini_arcade_core-0.7.5.dist-info}/RECORD +5 -5
- {mini_arcade_core-0.7.4.dist-info → mini_arcade_core-0.7.5.dist-info}/WHEEL +0 -0
- {mini_arcade_core-0.7.4.dist-info → mini_arcade_core-0.7.5.dist-info}/licenses/LICENSE +0 -0
mini_arcade_core/game.py
CHANGED
|
@@ -140,8 +140,11 @@ class Game:
|
|
|
140
140
|
img = Image.open(bmp_path)
|
|
141
141
|
img.save(out_path) # Pillow chooses format from extension
|
|
142
142
|
return True
|
|
143
|
+
# Justification: Pillow can raise various exceptions on failure
|
|
144
|
+
# pylint: disable=broad-exception-caught
|
|
143
145
|
except Exception:
|
|
144
146
|
return False
|
|
147
|
+
# pylint: enable=broad-exception-caught
|
|
145
148
|
|
|
146
149
|
def screenshot(
|
|
147
150
|
self, label: str | None = None, directory: str = "screenshots"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
mini_arcade_core/__init__.py,sha256=0gkloHYTV8FmEZbBLxNNy-eJge2y7pkQ_PCcrfeJ3uo,1831
|
|
2
2
|
mini_arcade_core/backend.py,sha256=SvsHDO0Fq86buTqMkOCSAidx2E4QAJ6mLsSa9ZQXEqY,4514
|
|
3
3
|
mini_arcade_core/entity.py,sha256=mAkedH0j14giBQFRpQjaym46uczbQDln6nbxy0WFAqU,1077
|
|
4
|
-
mini_arcade_core/game.py,sha256=
|
|
4
|
+
mini_arcade_core/game.py,sha256=SBhpQnaK5Fs0Y4sV6cV-kciI1hRzyLxix8Sictlc9Eo,5246
|
|
5
5
|
mini_arcade_core/scene.py,sha256=QENcn2hWUF3Ja9pU8NK67NYmC8ptnjdpUkg1qsUEl60,2435
|
|
6
|
-
mini_arcade_core-0.7.
|
|
7
|
-
mini_arcade_core-0.7.
|
|
8
|
-
mini_arcade_core-0.7.
|
|
9
|
-
mini_arcade_core-0.7.
|
|
6
|
+
mini_arcade_core-0.7.5.dist-info/METADATA,sha256=mCheuxo7siOALms4OIJDSae1fsNiFwfNNYFygLOF-o8,8324
|
|
7
|
+
mini_arcade_core-0.7.5.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
8
|
+
mini_arcade_core-0.7.5.dist-info/licenses/LICENSE,sha256=3lHAuV0584cVS5vAqi2uC6GcsVgxUijvwvtZckyvaZ4,1096
|
|
9
|
+
mini_arcade_core-0.7.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|