forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts: compliance: add support for YAMLLint
Add a YAMLLint compliance check that uses the yamllint package to report linting error on YAML files. Signed-off-by: Fabio Baltieri <[email protected]>
- Loading branch information
1 parent
888607d
commit 9d3681c
Showing
4 changed files
with
50 additions
and
1 deletion.
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
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,16 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
extends: default | ||
|
||
rules: | ||
line-length: | ||
max: 100 | ||
comments: | ||
min-spaces-from-content: 1 | ||
indentation: | ||
spaces: 2 | ||
indent-sequences: consistent | ||
document-start: | ||
present: false | ||
truthy: | ||
check-keys: 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
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ python-magic-bin; sys_platform == "win32" | |
lxml | ||
junitparser>=2 | ||
pylint | ||
yamllint |