Skip to content

Commit 35c4985

Browse files
dev-swarupclaude
andcommitted
style: drop blank line after bl_description
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent b015428 commit 35c4985

3 files changed

Lines changed: 0 additions & 23 deletions

File tree

‎src/ui/dialogs.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def open_approval_later() -> None:
5151

5252
class BLENDER_AI_OT_approval_dialog(bpy.types.Operator):
5353
bl_description = "Review the Python code an AI agent wants to run"
54-
5554
bl_idname = "blender_ai.approval_dialog"
5655
bl_label = "Run Python code?"
5756
bl_options = {"INTERNAL"}

‎src/ui/input_modal.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ def handle_click(context: Any, hit: str, region: Any = None) -> bool:
212212

213213
class BLENDER_AI_OT_prompt_input(bpy.types.Operator):
214214
bl_description = "Type into the Blender AI prompt bar"
215-
216215
bl_idname = "blender_ai.prompt_input"
217216
bl_label = "Blender AI Prompt"
218217
bl_options = {"INTERNAL"}
@@ -411,7 +410,6 @@ def _key(self, context: Any, event: Any) -> set[str]:
411410

412411
class BLENDER_AI_OT_focus_bar(bpy.types.Operator):
413412
bl_description = "Focus the Blender AI prompt bar (press again to leave it)"
414-
415413
bl_idname = "blender_ai.focus_bar"
416414
bl_label = "Blender AI: Focus Prompt Bar"
417415

@@ -429,7 +427,6 @@ def invoke(self, context: Any, event: Any) -> set[str]:
429427

430428
class BLENDER_AI_OT_bar_click(bpy.types.Operator):
431429
bl_description = "Handle a click on the Blender AI prompt bar"
432-
433430
bl_idname = "blender_ai.bar_click"
434431
bl_label = "Blender AI: Bar Click"
435432
bl_options = {"INTERNAL"}
@@ -451,7 +448,6 @@ def invoke(self, context: Any, event: Any) -> set[str]:
451448

452449
class BLENDER_AI_OT_escape(bpy.types.Operator):
453450
bl_description = "Stop the running Blender AI request"
454-
455451
bl_idname = "blender_ai.escape"
456452
bl_label = "Blender AI: Stop"
457453
bl_options = {"INTERNAL"}
@@ -467,7 +463,6 @@ def invoke(self, context: Any, event: Any) -> set[str]:
467463

468464
class BLENDER_AI_OT_approve(bpy.types.Operator):
469465
bl_description = "Approve or deny the pending run_python call"
470-
471466
bl_idname = "blender_ai.approve"
472467
bl_label = "Approve"
473468
bl_options = {"INTERNAL"}

‎src/ui/operators.py‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def _image_items(_self: Any, _context: Any) -> list[tuple[Any, ...]]:
128128

129129
class BLENDER_AI_OT_choose_model(bpy.types.Operator):
130130
bl_description = "Pick the AI model (searchable list from your API's /models)"
131-
132131
bl_idname = "blender_ai.choose_model"
133132
bl_label = "Choose Model"
134133
bl_property = "choice"
@@ -153,7 +152,6 @@ def execute(self, context: Any) -> set[str]:
153152

154153
class BLENDER_AI_OT_choose_image_model(bpy.types.Operator):
155154
bl_description = "Pick the image model used for generated textures"
156-
157155
bl_idname = "blender_ai.choose_image_model"
158156
bl_label = "Choose Image Model"
159157
bl_property = "choice"
@@ -178,7 +176,6 @@ def execute(self, context: Any) -> set[str]:
178176

179177
class BLENDER_AI_OT_refresh_models(bpy.types.Operator):
180178
bl_description = "Reload the model lists from the API"
181-
182179
bl_idname = "blender_ai.refresh_models"
183180
bl_label = "Refresh Models"
184181

@@ -192,7 +189,6 @@ def execute(self, context: Any) -> set[str]:
192189

193190
class BLENDER_AI_OT_use_preset(bpy.types.Operator):
194191
bl_description = "Use this provider's API URL"
195-
196192
bl_idname = "blender_ai.use_preset"
197193
bl_label = "Use Provider"
198194
bl_options = {"INTERNAL"}
@@ -215,7 +211,6 @@ def execute(self, context: Any) -> set[str]:
215211

216212
class BLENDER_AI_OT_test_llm(bpy.types.Operator):
217213
bl_description = "Check the URL and key, load the model list and send a one-word request"
218-
219214
bl_idname = "blender_ai.test_llm"
220215
bl_label = "Test Connection"
221216

@@ -249,7 +244,6 @@ def done(result: tuple[str, list[models.ModelInfo]] | None, exc: BaseException |
249244

250245
class BLENDER_AI_OT_test_image(bpy.types.Operator):
251246
bl_description = "Check the image API URL and key"
252-
253247
bl_idname = "blender_ai.test_image"
254248
bl_label = "Test Image API"
255249

@@ -296,7 +290,6 @@ def connect_mcp(reconnect: bool = False) -> None:
296290

297291
class BLENDER_AI_OT_mcp_add(bpy.types.Operator):
298292
bl_description = "Add an MCP server"
299-
300293
bl_idname = "blender_ai.mcp_add"
301294
bl_label = "Add MCP Server"
302295

@@ -310,7 +303,6 @@ def execute(self, context: Any) -> set[str]:
310303

311304
class BLENDER_AI_OT_mcp_remove(bpy.types.Operator):
312305
bl_description = "Remove the selected MCP server"
313-
314306
bl_idname = "blender_ai.mcp_remove"
315307
bl_label = "Remove MCP Server"
316308

@@ -357,7 +349,6 @@ def execute(self, context: Any) -> set[str]:
357349

358350
class BLENDER_AI_OT_mcp_connect(bpy.types.Operator):
359351
bl_description = "Connect (or reconnect) the enabled MCP servers. New tools apply to new conversations"
360-
361352
bl_idname = "blender_ai.mcp_connect"
362353
bl_label = "Connect MCP Servers"
363354

@@ -368,7 +359,6 @@ def execute(self, context: Any) -> set[str]:
368359

369360
class BLENDER_AI_OT_attach_image(bpy.types.Operator):
370361
bl_description = "Attach a reference image to the next prompt (texture tools can use it as 'attached')"
371-
372362
bl_idname = "blender_ai.attach_image"
373363
bl_label = "Attach Image"
374364

@@ -388,7 +378,6 @@ def execute(self, context: Any) -> set[str]:
388378

389379
class BLENDER_AI_OT_clear_attachment(bpy.types.Operator):
390380
bl_description = "Remove the attached image"
391-
392381
bl_idname = "blender_ai.clear_attachment"
393382
bl_label = "Remove Attachment"
394383

@@ -400,7 +389,6 @@ def execute(self, context: Any) -> set[str]:
400389

401390
class BLENDER_AI_OT_send(bpy.types.Operator):
402391
bl_description = "Send the prompt bar text"
403-
404392
bl_idname = "blender_ai.send"
405393
bl_label = "Generate"
406394

@@ -411,7 +399,6 @@ def execute(self, context: Any) -> set[str]:
411399

412400
class BLENDER_AI_OT_stop(bpy.types.Operator):
413401
bl_description = "Stop the running request"
414-
415402
bl_idname = "blender_ai.stop"
416403
bl_label = "Stop"
417404

@@ -425,7 +412,6 @@ def execute(self, context: Any) -> set[str]:
425412

426413
class BLENDER_AI_OT_new_conversation(bpy.types.Operator):
427414
bl_description = "Forget the conversation so far (the scene is kept)"
428-
429415
bl_idname = "blender_ai.new_conversation"
430416
bl_label = "New Conversation"
431417

@@ -439,7 +425,6 @@ def execute(self, context: Any) -> set[str]:
439425

440426
class BLENDER_AI_OT_clear_log(bpy.types.Operator):
441427
bl_description = "Clear the step log"
442-
443428
bl_idname = "blender_ai.clear_log"
444429
bl_label = "Clear Log"
445430

@@ -452,7 +437,6 @@ def execute(self, context: Any) -> set[str]:
452437

453438
class BLENDER_AI_OT_toggle_entry(bpy.types.Operator):
454439
bl_description = "Show or hide details"
455-
456440
bl_idname = "blender_ai.toggle_entry"
457441
bl_label = "Toggle Details"
458442
bl_options = {"INTERNAL"}
@@ -470,7 +454,6 @@ def execute(self, context: Any) -> set[str]:
470454

471455
class BLENDER_AI_OT_open_settings(bpy.types.Operator):
472456
bl_description = "Open Blender AI in Preferences"
473-
474457
bl_idname = "blender_ai.open_settings"
475458
bl_label = "All Settings…"
476459

0 commit comments

Comments
 (0)