diff --git a/scripts/new-exercise.py b/scripts/new-exercise.py index eb5a91da..ab340892 100755 --- a/scripts/new-exercise.py +++ b/scripts/new-exercise.py @@ -109,14 +109,11 @@ def create_download_py_file() -> None: # TODO: conditionally add the git tagging only when requires_repo is True with open("download.py", "w") as download_script_file: download_script = """ - from exercise_utils.cli import run_command - from exercise_utils.gitmastery import create_start_tag - - __resources__ = {} + __resources__ = {} # Delete if no resources needed def setup(verbose: bool = False): - create_start_tag(verbose) + pass """ download_script_file.write(textwrap.dedent(download_script).lstrip()) diff --git a/scripts/new-hands-on.py b/scripts/new-hands-on.py index e8bb8365..31666045 100644 --- a/scripts/new-hands-on.py +++ b/scripts/new-hands-on.py @@ -40,9 +40,6 @@ def create_download_py_file(config: HandsOnConfig) -> None: f"{config.hands_on_name.replace('-', '_')}.py", "w" ) as download_script_file: download_script = f""" - from exercise_utils.cli import run_command - from exercise_utils.gitmastery import create_start_tag - __requires_git__ = {config.requires_git} __requires_github__ = {config.requires_github}