-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Xavier Chapron
committed
Oct 4, 2023
1 parent
12e5f6f
commit 30189cf
Showing
191 changed files
with
18,681 additions
and
16,902 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
Language: Cpp | ||
BasedOnStyle: Chromium | ||
IndentWidth: 4 | ||
ColumnLimit: 100 | ||
UseTab: Never | ||
IndentCaseLabels: true | ||
# do not allow ifs or loops without braces | ||
InsertBraces: true | ||
PointerAlignment: Right | ||
|
||
BreakBeforeBraces: Stroustrup | ||
BreakBeforeBinaryOperators: true | ||
|
||
BinPackArguments: false | ||
BinPackParameters: false | ||
|
||
AlignConsecutiveMacros: | ||
Enabled: true | ||
AcrossComments: true | ||
AcrossEmptyLines: false | ||
|
||
AlignConsecutiveDeclarations: | ||
Enabled: true | ||
AcrossComments: false | ||
AcrossEmptyLines: false | ||
|
||
AlignConsecutiveAssignments: | ||
Enabled: true | ||
AcrossComments: false | ||
AcrossEmptyLines: false | ||
|
||
AlignArrayOfStructures: Left | ||
SortIncludes: Never | ||
SpaceAfterCStyleCast: True | ||
AllowShortEnumsOnASingleLine: false | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Run this command to always ignore formatting commits in `git blame` | ||
# git config blame.ignoreRevsFile .git-blame-ignore-revs | ||
|
||
# Formatting commit | ||
9c45c201907c0de3df90ae2250b513f241a5f12e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# To install hooks, run: | ||
# pre-commit install --hook-type pre-commit | ||
# pre-commit install --hook-type commit-msg | ||
|
||
exclude: | | ||
(?x)^( | ||
lib_blewbxx/.*| | ||
lib_stusb/.*| | ||
lib_nbgl/include/.*.json| | ||
lib_bagl/include/.*.json| | ||
)$ | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v16.0.6 | ||
hooks: | ||
- id: clang-format | ||
types_or: [c] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,6 @@ | |
#include <stdio.h> | ||
#endif | ||
|
||
#endif // HAVE_BOLOS | ||
#endif // HAVE_BOLOS | ||
|
||
#define WIDE |
Oops, something went wrong.