Skip to content

Commit

Permalink
fix TYPE_CHECKING statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichunjo committed Oct 19, 2024
1 parent 058ef99 commit dccd8e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions vspreview/shortcuts/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

if TYPE_CHECKING:
from ..core import Stretch
else:
Stretch = Any


__all__ = [
"AbtractShortcutSection",
Expand Down
4 changes: 1 addition & 3 deletions vspreview/shortcuts/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# from __future__ import annotations
from __future__ import annotations

import logging

Expand All @@ -18,8 +18,6 @@
if TYPE_CHECKING:
from ..main import MainWindow
from ..plugins.abstract import AbstractPlugin, PluginShortcut
else:
MainWindow, PluginShortcut, AbstractPlugin = Any, Any, Any


__all__ = ["ShortCutsSettings"]
Expand Down

0 comments on commit dccd8e8

Please sign in to comment.