Skip to content

Commit d6fb476

Browse files
chore: Update templated files (d64a1bb) (#277)
chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@d64a1bb Reference-to: stackabletech/operator-templating@d64a1bb (try to update upload-artifacts action)
1 parent a109748 commit d6fb476

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ repos:
1818
rev: eeee35a89e69d5772bdee97db1a6a898467b686e # 1.0
1919
hooks:
2020
- id: fmt
21+
# Pinning to a specific rustc version, so that we get consistent formatting
22+
entry: RUSTUP_TOOLCHAIN=nightly-2025-01-15 cargo fmt
2123
args: ["--all", "--", "--check"]
2224
- id: clippy
2325
args: ["--all-targets", "--", "-D", "warnings"]

rustfmt.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file includes unstable features, so you need to run "cargo +nightly fmt" to format your code.
2+
# It's also ok to use the stable toolchain by simple running "cargo fmt", but using the nigthly formatter is prefered.
3+
4+
imports_granularity = "Crate"
5+
group_imports = "StdExternalCrate"

0 commit comments

Comments
 (0)