build(cog.toml): Use `nix fmt` (treefmt) instead of only `cargo fmt`

This commit is contained in:
Benedikt Peetz 2024-03-24 17:51:07 +01:00
parent 7a95fa7d81
commit 86d00608eb
Signed by: bpeetz
GPG Key ID: A5E94010C3A642AD
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ ignore_merge_commits = false
pre_bump_hooks = [
"licensur -p -i" # update the license header in each file
"nix build", # verify the project builds
"cargo fmt --all" # format
"nix fmt" # format
"cargo set-version {{version}}", # bump version in Cargo.toml
]
post_bump_hooks = [