mirror of https://github.com/eyhc1/rendercv.git
fix Ruff errors
This commit is contained in:
parent
901a69f702
commit
51e7851a29
|
@ -54,7 +54,7 @@ def new(name: Annotated[str, typer.Argument(help="Full name")]):
|
||||||
environment.variable_start_string = "<<"
|
environment.variable_start_string = "<<"
|
||||||
environment.variable_end_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)
|
new_input_file = template.render(name=name)
|
||||||
|
|
||||||
name = name.replace(" ", "_")
|
name = name.replace(" ", "_")
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import unittest
|
import unittest
|
||||||
import os
|
import os
|
||||||
import json
|
|
||||||
from datetime import date
|
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -3,8 +3,6 @@ import os
|
||||||
import json
|
import json
|
||||||
from datetime import date
|
from datetime import date
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
|
|
||||||
from rendercv import rendering, data_model
|
from rendercv import rendering, data_model
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue