Skip to content

Commit 3d58822

Browse files
authored
[tooling] Update set up scripts (#277)
1 parent 36a8faa commit 3d58822

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

scripts/new-exercise.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,11 @@ def create_download_py_file() -> None:
114114
# TODO: conditionally add the git tagging only when requires_repo is True
115115
with open("download.py", "w") as download_script_file:
116116
download_script = """
117-
from exercise_utils.cli import run_command
118-
from exercise_utils.gitmastery import create_start_tag
119-
120-
__resources__ = {}
117+
__resources__ = {} # Delete if no resources needed
121118
122119
123120
def setup(verbose: bool = False):
124-
create_start_tag(verbose)
121+
pass
125122
"""
126123
download_script_file.write(textwrap.dedent(download_script).lstrip())
127124

scripts/new-hands-on.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ def create_download_py_file(config: HandsOnConfig) -> None:
4040
f"{config.hands_on_name.replace('-', '_')}.py", "w"
4141
) as download_script_file:
4242
download_script = f"""
43-
from exercise_utils.cli import run_command
44-
from exercise_utils.gitmastery import create_start_tag
45-
4643
__requires_git__ = {config.requires_git}
4744
__requires_github__ = {config.requires_github}
4845

0 commit comments

Comments
 (0)