Skip to content

Commit 8439315

Browse files
committed
Format run_oem_config calls for readability
Refactored calls to repair.run_oem_config to use multi-line formatting, improving code readability where multiple arguments are passed.
1 parent 3cca657 commit 8439315

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/office_janitor/tui_actions.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,9 @@ def _handle_odt_install(self, *, execute: bool) -> None:
12231223
# Note: The selected locales are logged for informational purposes.
12241224
# The bundled XML configs have predefined language settings.
12251225
# For custom language configuration, users should use the ODT with custom XML.
1226-
result = repair.run_oem_config(preset, dry_run=dry_run, log_callback=self._append_status)
1226+
result = repair.run_oem_config(
1227+
preset, dry_run=dry_run, log_callback=self._append_status
1228+
)
12271229

12281230
if result.returncode == 0:
12291231
self._notify(
@@ -1292,7 +1294,9 @@ def _handle_odt_repair(self, *, execute: bool) -> None:
12921294

12931295
try:
12941296
spinner(0.2, "Preparing ODT...")
1295-
result = repair.run_oem_config(preset, dry_run=dry_run, log_callback=self._append_status)
1297+
result = repair.run_oem_config(
1298+
preset, dry_run=dry_run, log_callback=self._append_status
1299+
)
12961300

12971301
if result.returncode == 0:
12981302
self._notify(

0 commit comments

Comments
 (0)