Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit eff7223

Browse files
committed
minor tweak to markers
1 parent 1d0d036 commit eff7223

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/microgenerator/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ def find_project_root(start_path: str, markers: list[str]) -> str | None:
646646

647647
# Determine the project root.
648648
script_dir = os.path.dirname(os.path.abspath(__file__))
649-
project_root = find_project_root(script_dir, ["setup.py"])
649+
project_root = find_project_root(script_dir, ["setup.py", ".git"])
650650
if not project_root:
651651
project_root = os.getcwd() # Fallback to current directory
652652

0 commit comments

Comments
 (0)