Skip to content

Commit 319cccb

Browse files
committed
(chore) ruff format
1 parent fd51676 commit 319cccb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

invokeai/app/services/config/config_default.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -536,11 +536,13 @@ def get_config() -> InvokeAIAppConfig:
536536

537537
# Compare directories recursively
538538
comparison = filecmp.dircmp(configs_src, dest_path)
539-
need_copy = any([
540-
comparison.left_only, # Files exist only in source
541-
comparison.diff_files, # Files that differ
542-
comparison.common_funny # Files that couldn't be compared
543-
])
539+
need_copy = any(
540+
[
541+
comparison.left_only, # Files exist only in source
542+
comparison.diff_files, # Files that differ
543+
comparison.common_funny, # Files that couldn't be compared
544+
]
545+
)
544546

545547
if need_copy:
546548
# Get permissions from destination directory

0 commit comments

Comments
 (0)