Cleanup: add trailing commas for multi-line collections

Avoid accidentally missing commas between strings, see: T101020.
Also use single quotes for enum identifiers.
This commit is contained in:
2022-12-15 17:24:23 +11:00
parent 657a5f205a
commit 7571222a69
28 changed files with 102 additions and 91 deletions

View File

@@ -225,7 +225,7 @@ class ToolSelectPanelHelper:
return next(
(cls for cls in ToolSelectPanelHelper.__subclasses__()
if cls.bl_space_type == space_type),
None
None,
)
@staticmethod
@@ -904,7 +904,8 @@ class ToolSelectPanelHelper:
"workspace_tool_type",
value='DEFAULT',
text="Active Tool",
icon='TOOL_SETTINGS', # Could use a less generic icon.
# Could use a less generic icon.
icon='TOOL_SETTINGS',
)
is_active_tool = (tool_settings.workspace_tool_type == 'DEFAULT')