mirror of
https://github.com/uniwhale-io/pyth-crosschain.git
synced 2026-01-12 17:12:23 +08:00
* Use a new rustfmt file * Run cosmwasm action only when needed * Remove pre-commit from remote-executor action * Fix formatting * Run precommit for all files As previous PR was merged without pre-commit
18 lines
427 B
TOML
18 lines
427 B
TOML
# Merge all imports into a clean vertical list of module imports.
|
|
imports_granularity = "One"
|
|
group_imports = "One"
|
|
imports_layout = "Vertical"
|
|
|
|
# Better grep-ability.
|
|
empty_item_single_line = false
|
|
|
|
# Consistent pipe layout.
|
|
match_arm_leading_pipes = "Preserve"
|
|
|
|
# Align Fields
|
|
enum_discrim_align_threshold = 80
|
|
struct_field_align_threshold = 80
|
|
|
|
# Allow up to two blank lines for visual grouping.
|
|
blank_lines_upper_bound = 2
|