diff --git a/rendercv/__main__.py b/rendercv/__main__.py index eddd53b..9a54de2 100644 --- a/rendercv/__main__.py +++ b/rendercv/__main__.py @@ -54,7 +54,7 @@ def new(name: Annotated[str, typer.Argument(help="Full name")]): environment.variable_start_string = "<<" environment.variable_end_string = ">>" - template = environment.get_template(f"new_input.yaml.j2") + template = environment.get_template("new_input.yaml.j2") new_input_file = template.render(name=name) name = name.replace(" ", "_") diff --git a/tests/test_cli.py b/tests/test_cli.py index 5fcdbe7..49e0ba1 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,7 +1,5 @@ import unittest import os -import json -from datetime import date import shutil import subprocess import sys diff --git a/tests/test_rendering.py b/tests/test_rendering.py index 58451db..ee86802 100644 --- a/tests/test_rendering.py +++ b/tests/test_rendering.py @@ -3,8 +3,6 @@ import os import json from datetime import date import shutil -import subprocess -import sys from rendercv import rendering, data_model