yamllint: fix all yamllint truthy errors
Fix all thruthy errors detected by yamllint: yamllint -f parsable -c .yamllint $( find -regex '.*\.y[a]*ml' ) | \ grep '(truthy)' This only accepts true/false for boolean properties. Seems like python takes all sort of formats: https://github.com/yaml/pyyaml/blob/master/lib/yaml/constructor.py#L224-L235 But the current specs only mention "true" or "false" https://yaml.org/spec/1.2.2/#10212-boolean Which is the standard yamllint config. Excluding codeconv and workflow files, as some are using yes/no instead in the respective documentation. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
abe50cc929
commit
5c32300861
28 changed files with 37 additions and 37 deletions
2
.github/workflows/compliance.yml
vendored
2
.github/workflows/compliance.yml
vendored
|
@ -61,7 +61,7 @@ jobs:
|
||||||
|
|
||||||
- name: upload-results
|
- name: upload-results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
continue-on-error: True
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: compliance.xml
|
name: compliance.xml
|
||||||
path: compliance.xml
|
path: compliance.xml
|
||||||
|
|
2
.github/workflows/issue_count.yml
vendored
2
.github/workflows/issue_count.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
||||||
|
|
||||||
- name: upload-stats
|
- name: upload-stats
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
continue-on-error: True
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: ${{ env.OUTPUT_FILE_NAME }}
|
name: ${{ env.OUTPUT_FILE_NAME }}
|
||||||
path: ${{ env.OUTPUT_FILE_NAME }}
|
path: ${{ env.OUTPUT_FILE_NAME }}
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
|
|
||||||
- name: upload-results
|
- name: upload-results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
continue-on-error: True
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
|
name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
|
||||||
path: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
|
path: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
|
||||||
|
|
|
@ -3,7 +3,7 @@ sample:
|
||||||
name: with mcuboot
|
name: with mcuboot
|
||||||
tests:
|
tests:
|
||||||
sample.application_development.sysbuild.with_mcuboot:
|
sample.application_development.sysbuild.with_mcuboot:
|
||||||
sysbuild: True
|
sysbuild: true
|
||||||
# Platform allowed is used as twister using sysbuild still lacks proper
|
# Platform allowed is used as twister using sysbuild still lacks proper
|
||||||
# filtering support, see discussion in #49552.
|
# filtering support, see discussion in #49552.
|
||||||
platform_allow: reel_board nrf52840dk_nrf52840
|
platform_allow: reel_board nrf52840dk_nrf52840
|
||||||
|
|
|
@ -9,7 +9,7 @@ common:
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: yes
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "Calculate first [0-9]+ digits of Pi independently by [0-9]+ threads.(.*)"
|
- "Calculate first [0-9]+ digits of Pi independently by [0-9]+ threads.(.*)"
|
||||||
- "Pi value calculated by thread #[0-9]+: [0-9]+(.*)"
|
- "Pi value calculated by thread #[0-9]+: [0-9]+(.*)"
|
||||||
|
|
|
@ -7,7 +7,7 @@ common:
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: yes
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "RESULT: OK(.*)"
|
- "RESULT: OK(.*)"
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ tests:
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: False
|
ordered: false
|
||||||
regex:
|
regex:
|
||||||
- "Wake from Light Sleep"
|
- "Wake from Light Sleep"
|
||||||
- "Wake from Deep Sleep"
|
- "Wake from Deep Sleep"
|
||||||
|
|
|
@ -9,7 +9,7 @@ tests:
|
||||||
- lpcxpresso54114_m4
|
- lpcxpresso54114_m4
|
||||||
tags: ipm
|
tags: ipm
|
||||||
harness: console
|
harness: console
|
||||||
sysbuild: True
|
sysbuild: true
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
regex:
|
regex:
|
||||||
|
|
|
@ -11,7 +11,7 @@ tests:
|
||||||
- CONFIG_NET_SOCKETS_CAN_RECEIVERS=1
|
- CONFIG_NET_SOCKETS_CAN_RECEIVERS=1
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: True
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "(.*)\\[0\\] CAN frame: IDE 0x0 RTR 0x0 ID 0x1 DLC 0x8"
|
- "(.*)\\[0\\] CAN frame: IDE 0x0 RTR 0x0 ID 0x1 DLC 0x8"
|
||||||
- "(.*)f0 f1 f2 f3 f4 f5 f6 f7"
|
- "(.*)f0 f1 f2 f3 f4 f5 f6 f7"
|
||||||
|
@ -20,7 +20,7 @@ tests:
|
||||||
- CONFIG_NET_SOCKETS_CAN_RECEIVERS=2
|
- CONFIG_NET_SOCKETS_CAN_RECEIVERS=2
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: True
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "(.*)\\[0\\] CAN frame: IDE 0x0 RTR 0x0 ID 0x1 DLC 0x8"
|
- "(.*)\\[0\\] CAN frame: IDE 0x0 RTR 0x0 ID 0x1 DLC 0x8"
|
||||||
- "(.*)f0 f1 f2 f3 f4 f5 f6 f7"
|
- "(.*)f0 f1 f2 f3 f4 f5 f6 f7"
|
||||||
|
|
|
@ -9,7 +9,7 @@ common:
|
||||||
depends_on: i2c hts221
|
depends_on: i2c hts221
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: yes
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "Observation:(.*)"
|
- "Observation:(.*)"
|
||||||
- "Temperature:(.*) C"
|
- "Temperature:(.*) C"
|
||||||
|
|
|
@ -7,7 +7,7 @@ tests:
|
||||||
depends_on: i2c lps22hb
|
depends_on: i2c lps22hb
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: yes
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "Temperature: (.*)"
|
- "Temperature: (.*)"
|
||||||
- "Relative Humidity: (.*)"
|
- "Relative Humidity: (.*)"
|
||||||
|
|
|
@ -8,7 +8,7 @@ tests:
|
||||||
filter: dt_compat_enabled("st,lps22hh")
|
filter: dt_compat_enabled("st,lps22hh")
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: yes
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "Temperature: (.*)"
|
- "Temperature: (.*)"
|
||||||
- "Pressure: (.*)"
|
- "Pressure: (.*)"
|
||||||
|
|
|
@ -9,7 +9,7 @@ tests:
|
||||||
build_only: true
|
build_only: true
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: yes
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "Temperature: (.*)"
|
- "Temperature: (.*)"
|
||||||
- "Pressure: (.*)"
|
- "Pressure: (.*)"
|
||||||
|
|
|
@ -9,7 +9,7 @@ tests:
|
||||||
- mps2_an521
|
- mps2_an521
|
||||||
tags: ipm
|
tags: ipm
|
||||||
harness: console
|
harness: console
|
||||||
sysbuild: True
|
sysbuild: true
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
regex:
|
regex:
|
||||||
|
|
|
@ -2,7 +2,7 @@ sample:
|
||||||
name: USB DFU sample
|
name: USB DFU sample
|
||||||
|
|
||||||
common:
|
common:
|
||||||
build_only: True
|
build_only: true
|
||||||
platform_exclude: native_posix native_posix_64 mimxrt1010_evk
|
platform_exclude: native_posix native_posix_64 mimxrt1010_evk
|
||||||
mimxrt1050_evk_qspi mimxrt1020_evk mimxrt1015_evk mimxrt1060_evk sam4l_ek
|
mimxrt1050_evk_qspi mimxrt1020_evk mimxrt1015_evk mimxrt1060_evk sam4l_ek
|
||||||
mimxrt1050_evk mimxrt1060_evk_hyperflash nucleo_f207zg teensy40 teensy41
|
mimxrt1050_evk mimxrt1060_evk_hyperflash nucleo_f207zg teensy40 teensy41
|
||||||
|
|
|
@ -11,7 +11,7 @@ tests:
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: True
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "No file system selected"
|
- "No file system selected"
|
||||||
- "The device is put in USB mass storage mode."
|
- "The device is put in USB mass storage mode."
|
||||||
|
@ -26,7 +26,7 @@ tests:
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: True
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "End of files"
|
- "End of files"
|
||||||
- "The device is put in USB mass storage mode."
|
- "The device is put in USB mass storage mode."
|
||||||
|
@ -46,7 +46,7 @@ tests:
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: True
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "End of files"
|
- "End of files"
|
||||||
- "The device is put in USB mass storage mode."
|
- "The device is put in USB mass storage mode."
|
||||||
|
@ -63,7 +63,7 @@ tests:
|
||||||
harness_config:
|
harness_config:
|
||||||
fixture: fixture_sdcard
|
fixture: fixture_sdcard
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: True
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "End of files"
|
- "End of files"
|
||||||
- "The device is put in USB mass storage mode."
|
- "The device is put in USB mass storage mode."
|
||||||
|
@ -83,7 +83,7 @@ tests:
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
ordered: True
|
ordered: true
|
||||||
regex:
|
regex:
|
||||||
- "End of files"
|
- "End of files"
|
||||||
- "The device is put in USB mass storage mode."
|
- "The device is put in USB mass storage mode."
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
type: seq
|
type: seq
|
||||||
sequence:
|
sequence:
|
||||||
- type: map
|
- type: map
|
||||||
required: no
|
required: false
|
||||||
mapping:
|
mapping:
|
||||||
"available":
|
"available":
|
||||||
type: bool
|
type: bool
|
||||||
|
@ -52,6 +52,6 @@ sequence:
|
||||||
required: false
|
required: false
|
||||||
"fixtures":
|
"fixtures":
|
||||||
type: seq
|
type: seq
|
||||||
required: no
|
required: false
|
||||||
sequence:
|
sequence:
|
||||||
- type: str
|
- type: str
|
||||||
|
|
|
@ -11,7 +11,7 @@ type: seq
|
||||||
matching: all
|
matching: all
|
||||||
sequence:
|
sequence:
|
||||||
- type: map
|
- type: map
|
||||||
required: yes
|
required: true
|
||||||
matching: all
|
matching: all
|
||||||
mapping:
|
mapping:
|
||||||
"scenarios":
|
"scenarios":
|
||||||
|
@ -19,13 +19,13 @@ sequence:
|
||||||
required: true
|
required: true
|
||||||
sequence:
|
sequence:
|
||||||
- type: str
|
- type: str
|
||||||
- unique: True
|
- unique: true
|
||||||
"platforms":
|
"platforms":
|
||||||
required: true
|
required: true
|
||||||
type: seq
|
type: seq
|
||||||
sequence:
|
sequence:
|
||||||
- type: str
|
- type: str
|
||||||
- unique: True
|
- unique: true
|
||||||
"comment":
|
"comment":
|
||||||
type: str
|
type: str
|
||||||
required: false
|
required: false
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
tests:
|
tests:
|
||||||
test_a.check_1:
|
test_a.check_1:
|
||||||
tags: test_a
|
tags: test_a
|
||||||
build_only: True
|
build_only: true
|
||||||
test_a.check_2:
|
test_a.check_2:
|
||||||
extra_args: CONF_FILE="test.conf"
|
extra_args: CONF_FILE="test.conf"
|
||||||
tags: test_a
|
tags: test_a
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
tests:
|
tests:
|
||||||
test_d.check_1:
|
test_d.check_1:
|
||||||
tags: test_d
|
tags: test_d
|
||||||
build_only: True
|
build_only: true
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
tests:
|
tests:
|
||||||
arch.x86.interrupt:
|
arch.x86.interrupt:
|
||||||
ignore_faults: True
|
ignore_faults: true
|
||||||
arch_allow: x86
|
arch_allow: x86
|
||||||
filter: not CONFIG_X86_64
|
filter: not CONFIG_X86_64
|
||||||
tags: interrupt idt
|
tags: interrupt idt
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
common:
|
common:
|
||||||
sysbuild: True
|
sysbuild: true
|
||||||
harness: console
|
harness: console
|
||||||
harness_config:
|
harness_config:
|
||||||
type: multi_line
|
type: multi_line
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
common:
|
common:
|
||||||
tags: coredump
|
tags: coredump
|
||||||
ignore_faults: True
|
ignore_faults: true
|
||||||
ignore_qemu_crash: True
|
ignore_qemu_crash: true
|
||||||
tests:
|
tests:
|
||||||
drivers.coredump.api.qemu_riscv32:
|
drivers.coredump.api.qemu_riscv32:
|
||||||
filter: CONFIG_ARCH_SUPPORTS_COREDUMP
|
filter: CONFIG_ARCH_SUPPORTS_COREDUMP
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
tests:
|
tests:
|
||||||
kernel.condvar:
|
kernel.condvar:
|
||||||
ignore_faults: True
|
ignore_faults: true
|
||||||
tags: kernel userspace condition_variables
|
tags: kernel userspace condition_variables
|
||||||
|
|
|
@ -2,4 +2,4 @@ tests:
|
||||||
kernel.events.usage:
|
kernel.events.usage:
|
||||||
filter: CONFIG_ARCH_HAS_USERSPACE
|
filter: CONFIG_ARCH_HAS_USERSPACE
|
||||||
tags: kernel userspace
|
tags: kernel userspace
|
||||||
ignore_faults: True
|
ignore_faults: true
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
common:
|
common:
|
||||||
ignore_faults: True
|
ignore_faults: true
|
||||||
tests:
|
tests:
|
||||||
kernel.common.stack_protection:
|
kernel.common.stack_protection:
|
||||||
extra_args: CONF_FILE=prj.conf
|
extra_args: CONF_FILE=prj.conf
|
||||||
|
|
|
@ -5,7 +5,7 @@ common:
|
||||||
- qemu_cortex_m3
|
- qemu_cortex_m3
|
||||||
- nsim_em
|
- nsim_em
|
||||||
tags: kernel scheduler
|
tags: kernel scheduler
|
||||||
ignore_faults: True
|
ignore_faults: true
|
||||||
tests:
|
tests:
|
||||||
kernel.no-mt.cpu_exception:
|
kernel.no-mt.cpu_exception:
|
||||||
extra_args: EXTRA_CPPFLAGS=-DVIA_TWISTER=0
|
extra_args: EXTRA_CPPFLAGS=-DVIA_TWISTER=0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
common:
|
common:
|
||||||
ignore_faults: True
|
ignore_faults: true
|
||||||
tests:
|
tests:
|
||||||
kernel.demand_paging:
|
kernel.demand_paging:
|
||||||
tags: kernel mmu demand_paging
|
tags: kernel mmu demand_paging
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue