mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Use set[str] for lookup instead of list[str]
This commit is contained in:
parent
f8ff18f3a7
commit
48e840622d
2 changed files with 5 additions and 5 deletions
|
|
@ -58,7 +58,7 @@ class ExtractOIIOTranscode(publish.Extractor):
|
||||||
optional = True
|
optional = True
|
||||||
|
|
||||||
# Supported extensions
|
# Supported extensions
|
||||||
supported_exts = ["exr", "jpg", "jpeg", "png", "dpx"]
|
supported_exts = {"exr", "jpg", "jpeg", "png", "dpx"}
|
||||||
|
|
||||||
# Configurable by Settings
|
# Configurable by Settings
|
||||||
profiles = None
|
profiles = None
|
||||||
|
|
|
||||||
|
|
@ -135,11 +135,11 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
||||||
]
|
]
|
||||||
|
|
||||||
# Supported extensions
|
# Supported extensions
|
||||||
image_exts = ["exr", "jpg", "jpeg", "png", "dpx", "tga", "tiff", "tif"]
|
image_exts = {"exr", "jpg", "jpeg", "png", "dpx", "tga", "tiff", "tif"}
|
||||||
video_exts = ["mov", "mp4"]
|
video_exts = {"mov", "mp4"}
|
||||||
supported_exts = image_exts + video_exts
|
supported_exts = image_exts.union(video_exts)
|
||||||
|
|
||||||
alpha_exts = ["exr", "png", "dpx"]
|
alpha_exts = {"exr", "png", "dpx"}
|
||||||
|
|
||||||
# Preset attributes
|
# Preset attributes
|
||||||
profiles = []
|
profiles = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue