mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix ruff comments
This commit is contained in:
parent
9dbb8573fa
commit
217cd06f9a
3 changed files with 1 additions and 5 deletions
|
|
@ -8,7 +8,6 @@ from ayon_core.lib.attribute_definitions import (
|
|||
FileDef,
|
||||
BoolDef,
|
||||
TextDef,
|
||||
HiddenDef
|
||||
)
|
||||
from ayon_core.hosts.traypublisher.api.plugin import TrayPublishCreator
|
||||
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@ class ExtractEditorialPckgConversion(publish.Extractor):
|
|||
if conversion_enabled and output_def["ext"]:
|
||||
transfers = self._convert_resources(output_def, transfers)
|
||||
|
||||
if not "transfers" in instance.data:
|
||||
instance.data["transfers"] = []
|
||||
instance.data["transfers"] = transfers
|
||||
|
||||
source_to_rootless = self._get_resource_path_mapping(instance,
|
||||
|
|
|
|||
|
|
@ -22,8 +22,7 @@ class ValidateEditorialPackage(pyblish.api.InstancePlugin):
|
|||
def process(self, instance):
|
||||
editorial_pckg_data = instance.data.get("editorial_pckg")
|
||||
if not editorial_pckg_data:
|
||||
raise PublishValidationError(
|
||||
f"Editorial package not collected")
|
||||
raise PublishValidationError("Editorial package not collected")
|
||||
|
||||
folder_path = editorial_pckg_data["folder_path"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue