Skip to content

Code formating #8

@rvalle

Description

@rvalle

I suggest adding code formatting check in pipeline, and utility for fixing before commit, perhaps with rustfmt

I combine this with cargo-make so that entrypoints can be used during development or CI, like:

Makefile.toml

[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--check"]

[tasks.format_fix]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--emit=files"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions