Skip to content

Commit b56bbae

Browse files
committed
clean
1 parent 9ce04c5 commit b56bbae

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/python.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ struct Prettier {}
4848
#[template(path = ".github/workflows/ci.yaml", escape = "none")]
4949
struct GHWorkflowCI {}
5050

51-
// #[derive(Template)]
52-
// #[template(path = ".github/workflows/ci.yaml", escape = "none")]
53-
// struct GHWorkflowCI {}
54-
5551
pub fn setup_preset(mut preset: String, name: String, create: bool) {
5652
if preset == "python" {
5753
preset = "python3.10".to_string();
@@ -95,7 +91,7 @@ pub fn setup_preset(mut preset: String, name: String, create: bool) {
9591
file.write_all(
9692
PreCommitConfig { python: true }
9793
.render()
98-
.expect("Failed to render .pre-commit-config.yam")
94+
.expect("Failed to render .pre-commit-config.yaml")
9995
.as_bytes(),
10096
)
10197
})

0 commit comments

Comments
 (0)