Skip to content

Commit

Permalink
use sets instead and ruff type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph HENRY committed Nov 4, 2024
1 parent 1624af5 commit cea46ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/ayon_equalizer/hooks/pre_add_last_workfile_arg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
from typing import ClassVar

from ayon_applications import LaunchTypes, PreLaunchHook

Expand All @@ -13,8 +14,8 @@ class AddLast3DEWorkfileToLaunchArgs(PreLaunchHook):

# Execute after workfile template copy
order = 10
app_groups = ("equalizer", "sdv_3dequalizer")
launch_types = LaunchTypes.local
app_groups: ClassVar[set[str]] = {"equalizer"}
launch_types: ClassVar[LaunchTypes] = {LaunchTypes.local}

def execute(self):
if not self.data.get("start_last_workfile"):
Expand Down

0 comments on commit cea46ff

Please sign in to comment.