forked from eclipse-wakaama/wakaama
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eclipse-wakaamaGH-574] ci: Configure and integrate cmake-format
cmake-format ensures that our CMake code adheres to the format accepted by cmake-format. The code style is based on default one, with some minor adjustments.
- Loading branch information
1 parent
63602c6
commit 100d941
Showing
5 changed files
with
50 additions
and
4 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,21 @@ | ||
with section("format"): | ||
# How wide to allow formatted cmake files | ||
line_width = 120 | ||
|
||
# How many spaces to tab for indent | ||
tab_size = 4 | ||
|
||
# Smaller diffs: If a statement is wrapped to more than one line, then dangle | ||
# the closing parenthesis on its own line. | ||
dangle_parens = True | ||
|
||
# Settling cross platform disputes: What style line endings to use in the | ||
# output. | ||
line_ending = 'unix' | ||
|
||
# Format keywords consistently as 'upper case | ||
keyword_case = 'upper' | ||
|
||
with section("markup"): | ||
# What character to use for bulleted lists | ||
bullet_char = '-' |
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
cmake-format | ||
gitlint | ||
pylint | ||
-r ../tests/integration/requirements.txt |