Skip to content

Commit 3da21db

Browse files
committed
cli/add_from_fs(fix[variable-redefinition]): Remove duplicate type annotation
why: Fix mypy error for variable redefinition on line 201. what: - Remove redundant type annotation for determined_base_key in non-recursive branch - Variable was already declared with type annotation in recursive branch
1 parent eb8bea9 commit 3da21db

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/vcspull/cli/add_from_fs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ def add_from_filesystem(
198198
)
199199
continue
200200

201-
determined_base_key: str
202201
if base_dir_key_arg:
203202
determined_base_key = (
204203
base_dir_key_arg

0 commit comments

Comments
 (0)