Skip to content

Commit a339934

Browse files
committed
types(importers) Fix typing issues
src/tmuxp/workspace/importers.py:168: error: Item "None" of "Optional[Any]" has no attribute "append" [union-attr]
1 parent ec567c9 commit a339934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tmuxp/workspace/importers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def import_tmuxinator(workspace_dict: dict[str, t.Any]) -> dict[str, t.Any]:
1919
-------
2020
dict
2121
"""
22-
tmuxp_workspace = {}
22+
tmuxp_workspace: dict[str, t.Any] = {}
2323

2424
if "project_name" in workspace_dict:
2525
tmuxp_workspace["session_name"] = workspace_dict.pop("project_name")
@@ -122,7 +122,7 @@ def import_teamocil(workspace_dict: dict[str, t.Any]) -> dict[str, t.Any]:
122122
- clear
123123
- cmd_separator
124124
"""
125-
tmuxp_workspace = {}
125+
tmuxp_workspace: dict[str, t.Any] = {}
126126

127127
if "session" in workspace_dict:
128128
workspace_dict = workspace_dict["session"]

0 commit comments

Comments
 (0)