-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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
Labels
No labels