Cleanup: quiet Python warnings from ruff
This commit is contained in:
@@ -9,9 +9,11 @@ language_id = "shell"
|
||||
|
||||
|
||||
def add_scrollback(text, text_type):
|
||||
for l in text.split("\n"):
|
||||
bpy.ops.console.scrollback_append(text=l.replace("\t", " "),
|
||||
type=text_type)
|
||||
for line in text.split("\n"):
|
||||
bpy.ops.console.scrollback_append(
|
||||
text=line.replace("\t", " "),
|
||||
type=text_type,
|
||||
)
|
||||
|
||||
|
||||
def shell_run(text):
|
||||
|
||||
Reference in New Issue
Block a user