Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ysawa0 committed Nov 6, 2023
1 parent 9ce04c5 commit b56bbae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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(),
)
})
Expand Down

0 comments on commit b56bbae

Please sign in to comment.