mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-09 17:10:17 +00:00
2798109872
This was default in clang-format v7, but got changed to "Regroup" in v9. We prefer the old way for now and setting this explicitly makes it easier to support both versions.
9 lines
302 B
YAML
9 lines
302 B
YAML
---
|
|
BasedOnStyle: Google
|
|
# Google style has a default of 80 lines, but clang-format 7 disregards it in
|
|
# a weird case in modtrezorio-fatfs.h. Setting it explicitly helps.
|
|
ColumnLimit: 80
|
|
# This setting differs between clang-format 7 and 9.
|
|
# Let's set it explicitly to v7 value
|
|
IncludeBlocks: Preserve
|