Skip to content

Commit 5d8a9d9

Browse files
committed
refactor: Move valid file extensions to workspace.constants
1 parent f17d2a4 commit 5d8a9d9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/tmuxp/cli/ls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import os
33
import typing as t
44

5-
from .constants import VALID_WORKSPACE_DIR_FILE_EXTENSIONS
5+
from tmuxp.workspace.constants import VALID_WORKSPACE_DIR_FILE_EXTENSIONS
6+
67
from .utils import get_workspace_dir
78

89

src/tmuxp/cli/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
from colorama import Fore
77

88
from tmuxp.types import StrPath
9+
from tmuxp.workspace.constants import VALID_WORKSPACE_DIR_FILE_EXTENSIONS
910

1011
from .. import log
11-
from .constants import VALID_WORKSPACE_DIR_FILE_EXTENSIONS
1212

1313
logger = logging.getLogger(__name__)
1414

File renamed without changes.

0 commit comments

Comments
 (0)