Skip to content

Commit 44bde0e

Browse files
committed
typing
1 parent 9e7e9a4 commit 44bde0e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python/tk_multi_publish2/dialog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import contextlib
1212
import enum
1313
import traceback
14+
from typing import Iterator
1415

1516
import sgtk
1617
from sgtk.platform.qt import QtCore, QtGui
@@ -1007,7 +1008,7 @@ def _missing_(cls, value):
10071008
return cls.NEVER
10081009

10091010
@contextlib.contextmanager
1010-
def _resize_window_for_tree(self): # type: () -> Iterator[None]
1011+
def _resize_window_for_tree(self) -> Iterator[None]:
10111012
"""Context that resizes the main window to fit the tree items.
10121013
10131014
Only runs on successful exit of the context. Skips if any of:

0 commit comments

Comments
 (0)