UCL-ARC / python-tooling

Python package template for new research software projects
http://github-pages.arc.ucl.ac.uk/python-tooling/
MIT License
43 stars 2 forks source link

Make git init test more robust #433

Closed dstansby closed 3 months ago

dstansby commented 4 months ago

This makes the git initialisation test more robust by explicitly specifying the directory that should be a git repository. Prevents a false positive if the cookiecutter package dir doesn't have a .git directory, but one its parent directories does.

samcunliffe commented 3 months ago

This has been open for a while, sorry about that.

Would we want to support the case that a user had a parent directory repo? I think probably not, but just checking.