scripts: compliance: Fix DT Bindings check name
Check names must not contain spaces, since they are passed via `-m` in the command-line. Also update .gitignore and compliance.yml. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
8275457709
commit
95053c8358
6
.github/workflows/compliance.yml
vendored
6
.github/workflows/compliance.yml
vendored
@ -69,8 +69,8 @@ jobs:
|
|||||||
# debug
|
# debug
|
||||||
ls -la
|
ls -la
|
||||||
git log --pretty=oneline | head -n 10
|
git log --pretty=oneline | head -n 10
|
||||||
./scripts/ci/check_compliance.py --annotate -m Devicetree -m Gitlint \
|
./scripts/ci/check_compliance.py --annotate -m DevicetreeBindings
|
||||||
-m Identity -m Nits -m pylint -m checkpatch -m Kconfig \
|
-m Gitlint -m Identity -m Nits -m pylint -m checkpatch -m Kconfig \
|
||||||
-c origin/${BASE_REF}..
|
-c origin/${BASE_REF}..
|
||||||
|
|
||||||
- name: upload-results
|
- name: upload-results
|
||||||
@ -86,7 +86,7 @@ jobs:
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for file in Nits.txt checkpatch.txt Identity.txt Gitlint.txt pylint.txt Devicetree.txt Kconfig.txt; do
|
for file in Nits.txt checkpatch.txt Identity.txt Gitlint.txt pylint.txt Devicetree.txt Kconfig.txt DevicetreeBindings.txt; do
|
||||||
if [[ -s $file ]]; then
|
if [[ -s $file ]]; then
|
||||||
errors=$(cat $file)
|
errors=$(cat $file)
|
||||||
errors="${errors//'%'/'%25'}"
|
errors="${errors//'%'/'%25'}"
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -73,3 +73,4 @@ Codeowners.txt
|
|||||||
Nits.txt
|
Nits.txt
|
||||||
pylint.txt
|
pylint.txt
|
||||||
Identity.txt
|
Identity.txt
|
||||||
|
DevicetreeBindings.txt
|
||||||
|
|||||||
@ -224,7 +224,7 @@ class DevicetreeBindingsCheck(ComplianceTest):
|
|||||||
"""
|
"""
|
||||||
Checks if we are introducing any unwanted properties in Devicetree Bindings.
|
Checks if we are introducing any unwanted properties in Devicetree Bindings.
|
||||||
"""
|
"""
|
||||||
name = "Devicetree Bindings"
|
name = "DevicetreeBindings"
|
||||||
doc = "See https://docs.zephyrproject.org/latest/build/dts/bindings.html for more details."
|
doc = "See https://docs.zephyrproject.org/latest/build/dts/bindings.html for more details."
|
||||||
path_hint = ZEPHYR_BASE
|
path_hint = ZEPHYR_BASE
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user