Skip to content

Commit f3122b6

Browse files
committed
small linting fixes
1 parent aa22e7e commit f3122b6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

arcade/gl/backends/webgl/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(
4949

5050
if unsupported_extensions:
5151
raise RuntimeError(
52-
f"Tried to create a WebGL constant with the following missing extensions: {unsupported_extensions}"
52+
f"Tried to create a WebGL context with missing extensions: {unsupported_extensions}"
5353
)
5454

5555
super().__init__(window, gc_mode, gl_api)

arcade/sound.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
if os.environ.get("ARCADE_SOUND_BACKENDS"):
1515
pyglet.options.audio = tuple(v.strip() for v in os.environ["ARCADE_SOUND_BACKENDS"].split(","))
1616
elif is_pyodide():
17-
# Pyglet will also detect Pyodide and auto select the driver for it, but the driver tuple needs to be empty for that to happen
17+
# Pyglet will also detect Pyodide and auto select the driver for it
18+
# but the driver tuple needs to be empty for that to happen
1819
pyglet.options.audio = ()
1920
else:
2021
pyglet.options.audio = ("openal", "xaudio2", "directsound", "pulse", "silent")

arcade/text.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
"""
22
Drawing text with pyglet label
33
"""
4-
5-
from ctypes import c_int, c_ubyte
64
from pathlib import Path
75
from typing import Any
86

0 commit comments

Comments
 (0)