From b56bbae8b684625f793c25b1738cebee85dc7320 Mon Sep 17 00:00:00 2001 From: Yuki Sawa Date: Mon, 6 Nov 2023 13:53:15 -0800 Subject: [PATCH] clean --- src/python.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/python.rs b/src/python.rs index bdb4cae..c97e10e 100644 --- a/src/python.rs +++ b/src/python.rs @@ -48,10 +48,6 @@ struct Prettier {} #[template(path = ".github/workflows/ci.yaml", escape = "none")] struct GHWorkflowCI {} -// #[derive(Template)] -// #[template(path = ".github/workflows/ci.yaml", escape = "none")] -// struct GHWorkflowCI {} - pub fn setup_preset(mut preset: String, name: String, create: bool) { if preset == "python" { preset = "python3.10".to_string(); @@ -95,7 +91,7 @@ pub fn setup_preset(mut preset: String, name: String, create: bool) { file.write_all( PreCommitConfig { python: true } .render() - .expect("Failed to render .pre-commit-config.yam") + .expect("Failed to render .pre-commit-config.yaml") .as_bytes(), ) })