The function parameters lack type hints. Consider adding type annotations for better code clarity and IDE support.

This commit is contained in:
danielshih
2025-10-17 00:24:28 +08:00
parent 315269d9a8
commit 8130d98bcc

View File

@@ -485,7 +485,7 @@ def init_git_repo(project_path: Path, quiet: bool = False) -> Tuple[bool, Option
finally:
os.chdir(original_cwd)
def handle_vscode_settings(sub_item, dest_file, rel_path, verbose=False, tracker=None):
def handle_vscode_settings(sub_item, dest_file, rel_path, verbose=False, tracker=None) -> None:
"""Handle merging or copying of .vscode/settings.json files."""
def log(message, color="green"):
if verbose and not tracker: