Cleanup: Python script formatting

- Double quotes for strings.
- Trailing commas when wrapped lines.
This commit is contained in:
Campbell Barton
2024-06-06 11:26:28 +10:00
parent 1d894aa1a7
commit 949dfbfaa8
22 changed files with 57 additions and 54 deletions

View File

@@ -390,7 +390,7 @@ def enable(module_name, *, default_set=False, persistent=False, handle_error=Non
"module loaded with no associated file, __path__={!r}, aborting!".format(
getattr(mod, "__path__", None)
),
name=module_name
name=module_name,
)
mod.__time__ = os.path.getmtime(mod_file)
mod.__addon_enabled__ = False