File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"""A file for initializing the repository.
22
33This file should be deleted after initial setup.
4+
5+ Please do not run this file if you are user "MTDickens" and have just cloned the
6+ repository for the sole purpose of contributing to the repository itself.
7+
8+ This file is only meant for users who have cloned the repository as a template for their
9+ own work.
410"""
511
612import json
@@ -81,9 +87,15 @@ def _main() -> None:
8187 git_config_file = git_repo / "config"
8288 with open (git_config_file , encoding = "utf-8" ) as fp :
8389 git_config_contents = fp .read ()
84- if "git@github.com:tomsilver/python-starter.git" in git_config_contents :
90+ if (
91+ "git@github.com:MTDickens/research-code-python-starter-template"
92+ in git_config_contents
93+ ):
8594 shutil .rmtree (git_repo )
86- elif "https://github.com/tomsilver/python-starter.git" in git_config_contents :
95+ elif (
96+ "https://github.com/MTDickens/research-code-python-starter-template"
97+ in git_config_contents
98+ ):
8799 shutil .rmtree (git_repo )
88100
89101 # Initialize the repo anew.
You can’t perform that action at this time.
0 commit comments