From c4d6723c51e64f14947b095757e4e15750cf0e48 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Wed, 30 Jul 2025 16:04:00 +0200 Subject: [PATCH] formatting fixes --- client/ayon_core/pipeline/create/context.py | 2 +- .../ayon_core/plugins/publish/collect_from_create_context.py | 4 ++-- client/ayon_core/tools/publisher/widgets/card_view_widgets.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/ayon_core/pipeline/create/context.py b/client/ayon_core/pipeline/create/context.py index 5e069cd62e..b006924750 100644 --- a/client/ayon_core/pipeline/create/context.py +++ b/client/ayon_core/pipeline/create/context.py @@ -2629,4 +2629,4 @@ class CreateContext: INSTANCE_PARENT_CHANGED_TOPIC, {"instances": instances}, sender, - ) \ No newline at end of file + ) diff --git a/client/ayon_core/plugins/publish/collect_from_create_context.py b/client/ayon_core/plugins/publish/collect_from_create_context.py index 7b8aeee457..5e0ecbdff4 100644 --- a/client/ayon_core/plugins/publish/collect_from_create_context.py +++ b/client/ayon_core/plugins/publish/collect_from_create_context.py @@ -60,8 +60,8 @@ class CollectFromCreateContext(pyblish.api.ContextPlugin): is_active = created_instance["active"] # Use a parent's active state if parent flags defines that if ( - is_active - and created_instance.parent_flags & ParentFlags.share_active + created_instance.parent_flags & ParentFlags.share_active + and is_active ): is_active = parent_is_active diff --git a/client/ayon_core/tools/publisher/widgets/card_view_widgets.py b/client/ayon_core/tools/publisher/widgets/card_view_widgets.py index b8185fbb3f..6d95906364 100644 --- a/client/ayon_core/tools/publisher/widgets/card_view_widgets.py +++ b/client/ayon_core/tools/publisher/widgets/card_view_widgets.py @@ -792,7 +792,7 @@ class InstanceCardView(AbstractInstanceView): self._instance_ids_by_parent_id = instance_ids_by_parent_id self._group_name_by_instance_id = group_by_instance_id - self._instance_ids_by_group_name = instance_ids_by_group_name + self._instance_ids_by_group_name = instance_ids_by_group_name self._ordered_groups = sorted_group_names def has_items(self) -> bool: