Skip to content

Commit 2f414cc

Browse files
committed
Adjust for new Ruff
1 parent 3f17a3a commit 2f414cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/imgui_cmap_picker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def update_gui():
9494
# add the items for the picker
9595
for cmap_name, tex_ref in cmap_data.items():
9696
# text part of each item
97-
clicked, enabled = imgui.menu_item(
97+
_clicked, enabled = imgui.menu_item(
9898
cmap_name, "", p_selected=current_cmap == cmap_name
9999
)
100100
imgui.same_line()

tests/test_set_constant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_render_bundle_push_constants():
179179

180180

181181
def test_bad_set_push_constants():
182-
device, pipeline, render_pass_descriptor = setup_pipeline()
182+
device, _pipeline, render_pass_descriptor = setup_pipeline()
183183
encoder = device.create_command_encoder()
184184
this_pass = encoder.begin_render_pass(**render_pass_descriptor)
185185

0 commit comments

Comments
 (0)