diff --git a/rendercv/__main__.py b/rendercv/__main__.py index eddd53bb..9a54de22 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 5fcdbe75..49e0ba18 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 58451db6..ee86802b 100644 --- a/tests/test_rendering.py +++ b/tests/test_rendering.py @@ -3,8 +3,6 @@ import json from datetime import date import shutil -import subprocess -import sys from rendercv import rendering, data_model