Skip to content

Commit

Permalink
fix pipeline 1
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 13, 2023
1 parent 7d260e8 commit 8f4c515
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Documentation about the style options and their meaning
# https://releases.llvm.org/12.0.0/tools/clang/docs/ClangFormatStyleOptions.html

Language: Cpp
AccessModifierOffset: 0
AlignConsecutiveMacros: true
BreakBeforeBraces: Linux
ColumnLimit: 150
ConstructorInitializerIndentWidth: 2
19 changes: 19 additions & 0 deletions .github/workflows/.cmake-format.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- Python -*-

with section("format"):

# How wide to allow formatted cmake files
line_width = 80

# How many spaces to tab for indent
tab_size = 2

# If true, separate flow control names from their parentheses with a space
separate_ctrl_name_with_space = False

# If true, separate function names from parentheses with a space
separate_fn_name_with_space = False

# If a statement is wrapped to more than one line, than dangle the closing
# parenthesis on its own line.
dangle_parens = True

0 comments on commit 8f4c515

Please sign in to comment.