Merge pull request 'templates: add python-project' (#10) from python-template into main
This commit is contained in:
5
templates/python-project/my_lib/__init__.py
Normal file
5
templates/python-project/my_lib/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import os
|
||||
|
||||
|
||||
def detect_git_repo(path: str) -> bool:
|
||||
return os.path.exists(f"{path}/.git")
|
||||
Reference in New Issue
Block a user