Cleanup: quiet Python warnings from ruff
This commit is contained in:
@@ -33,8 +33,11 @@ class _TempModuleOverride:
|
||||
|
||||
|
||||
def add_scrollback(text, text_type):
|
||||
for l in text.split("\n"):
|
||||
bpy.ops.console.scrollback_append(text=l, type=text_type)
|
||||
for line in text.split("\n"):
|
||||
bpy.ops.console.scrollback_append(
|
||||
text=line,
|
||||
type=text_type,
|
||||
)
|
||||
|
||||
|
||||
def replace_help(namespace):
|
||||
|
||||
Reference in New Issue
Block a user