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
|
||||
ls -la
|
||||
git log --pretty=oneline | head -n 10
|
||||
./scripts/ci/check_compliance.py --annotate -m Devicetree -m Gitlint \
|
||||
-m Identity -m Nits -m pylint -m checkpatch -m Kconfig \
|
||||
./scripts/ci/check_compliance.py --annotate -m DevicetreeBindings
|
||||
-m Gitlint -m Identity -m Nits -m pylint -m checkpatch -m Kconfig \
|
||||
-c origin/${BASE_REF}..
|
||||
|
||||
- name: upload-results
|
||||
|
@ -86,7 +86,7 @@ jobs:
|
|||
exit 1;
|
||||
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
|
||||
errors=$(cat $file)
|
||||
errors="${errors//'%'/'%25'}"
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -73,3 +73,4 @@ Codeowners.txt
|
|||
Nits.txt
|
||||
pylint.txt
|
||||
Identity.txt
|
||||
DevicetreeBindings.txt
|
||||
|
|
|
@ -224,7 +224,7 @@ class DevicetreeBindingsCheck(ComplianceTest):
|
|||
"""
|
||||
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."
|
||||
path_hint = ZEPHYR_BASE
|
||||
|
||||
|
|
Loading…
Reference in a new issue