Skip to content

Commit

Permalink
fix for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
almarklein committed Oct 25, 2024
1 parent b8c4fd9 commit c36fe05
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion examples/gui_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
from rendercanvas.utils.cube import setup_drawing_sync


canvas = WgpuCanvas(size=(640, 480), title=f"The wgpu cube example on a {WgpuCanvas.__name__}")
canvas = WgpuCanvas(
size=(640, 480), title=f"The wgpu cube example on a {WgpuCanvas.__name__}"
)
draw_frame = setup_drawing_sync(canvas)


Expand Down
2 changes: 1 addition & 1 deletion examples/gui_glfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from rendercanvas.utils.cube import setup_drawing_sync


canvas = WgpuCanvas(size=(640, 480), title=f"The wgpu cube example on glfw")
canvas = WgpuCanvas(size=(640, 480), title="The wgpu cube example on glfw")
draw_frame = setup_drawing_sync(canvas)


Expand Down
2 changes: 2 additions & 0 deletions examples/gui_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Works with either PySide6, PyQt6, PyQt5 or PySide2.
"""

# ruff: noqa: E402

import importlib

# The `rendercanvas.qt` module checks what Qt libs is imported, so we need to import that first.
Expand Down
2 changes: 1 addition & 1 deletion examples/gui_wx.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from rendercanvas.utils.cube import setup_drawing_sync


canvas = WgpuCanvas(size=(640, 480), title=f"The wgpu cube example on wx")
canvas = WgpuCanvas(size=(640, 480), title="The wgpu cube example on wx")
draw_frame = setup_drawing_sync(canvas)


Expand Down

0 comments on commit c36fe05

Please sign in to comment.