From e0cc2b8dd0ccb14270bdd11ca996486de9cfc2ab Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Tue, 3 Jan 2023 11:53:40 +0000 Subject: [PATCH] yamllint: fix all yamllint hyphens errors Fix all hyphens errors detected by yamllint: yamllint -f parsable -c .yamllint $( find -regex '.*\.y[a]*ml' ) | \ grep '(hyphens)' Default config is only one space after the hyphen. Signed-off-by: Fabio Baltieri --- dts/bindings/sensor/st,iis2dlpc-common.yaml | 6 ++--- dts/bindings/sensor/st,ism330dhcx-common.yaml | 6 ++--- dts/bindings/sensor/st,lis2ds12-common.yaml | 6 ++--- dts/bindings/sensor/st,lis2dw12-common.yaml | 26 +++++++++---------- .../boards/arc_secure_services/sample.yaml | 10 +++---- samples/drivers/soc_flash_nrf/sample.yaml | 24 ++++++++--------- samples/posix/eventfd/sample.yaml | 16 ++++++------ 7 files changed, 47 insertions(+), 47 deletions(-) diff --git a/dts/bindings/sensor/st,iis2dlpc-common.yaml b/dts/bindings/sensor/st,iis2dlpc-common.yaml index 3e9b448672..fff971c41b 100644 --- a/dts/bindings/sensor/st,iis2dlpc-common.yaml +++ b/dts/bindings/sensor/st,iis2dlpc-common.yaml @@ -32,9 +32,9 @@ properties: description: Range in g. Default is power-up configuration. enum: - 16 # 16g (1.952 mg/LSB) - - 8 # 8g (0.976 mg/LSB) - - 4 # 4g (0.488 mg/LSB) - - 2 # 2g (0.244 mg/LSB) + - 8 # 8g (0.976 mg/LSB) + - 4 # 4g (0.488 mg/LSB) + - 2 # 2g (0.244 mg/LSB) power-mode: type: int diff --git a/dts/bindings/sensor/st,ism330dhcx-common.yaml b/dts/bindings/sensor/st,ism330dhcx-common.yaml index 741461d778..b3f7fdbc06 100644 --- a/dts/bindings/sensor/st,ism330dhcx-common.yaml +++ b/dts/bindings/sensor/st,ism330dhcx-common.yaml @@ -76,9 +76,9 @@ properties: 2 2g (0.061 mg/LSB) enum: - 16 - - 8 - - 4 - - 2 + - 8 + - 4 + - 2 gyro-odr: type: int diff --git a/dts/bindings/sensor/st,lis2ds12-common.yaml b/dts/bindings/sensor/st,lis2ds12-common.yaml index a4c79ba660..57c3c5847b 100644 --- a/dts/bindings/sensor/st,lis2ds12-common.yaml +++ b/dts/bindings/sensor/st,lis2ds12-common.yaml @@ -21,9 +21,9 @@ properties: enum: - 16 # 16g (0.488 mg/LSB) - - 8 # 8g (0.244 mg/LSB) - - 4 # 4g (0.122 mg/LSB) - - 2 # 2g (0.061 mg/LSB) + - 8 # 8g (0.244 mg/LSB) + - 4 # 4g (0.122 mg/LSB) + - 2 # 2g (0.061 mg/LSB) power-mode: type: int diff --git a/dts/bindings/sensor/st,lis2dw12-common.yaml b/dts/bindings/sensor/st,lis2dw12-common.yaml index 79ced03e6a..f18f42dfe4 100644 --- a/dts/bindings/sensor/st,lis2dw12-common.yaml +++ b/dts/bindings/sensor/st,lis2dw12-common.yaml @@ -43,9 +43,9 @@ properties: enum: - 16 - - 8 - - 4 - - 2 + - 8 + - 4 + - 2 odr: type: int @@ -57,16 +57,16 @@ properties: power off state. enum: - - 0 - - 1 - - 12 - - 25 - - 50 - - 100 - - 200 - - 400 - - 800 - - 1600 + - 0 + - 1 + - 12 + - 25 + - 50 + - 100 + - 200 + - 400 + - 800 + - 1600 bw-filt: type: int diff --git a/samples/boards/arc_secure_services/sample.yaml b/samples/boards/arc_secure_services/sample.yaml index 6c93bc947d..10dce9b348 100644 --- a/samples/boards/arc_secure_services/sample.yaml +++ b/samples/boards/arc_secure_services/sample.yaml @@ -15,8 +15,8 @@ tests: type: multi_line ordered: true regex: - - "I am the main thread in secure world: 0" - - "Go to normal application" - - "I am the main thread in secure world: 1" - - "I am the main thread in secure world: 2" - - "I am the main thread in secure world: 3" + - "I am the main thread in secure world: 0" + - "Go to normal application" + - "I am the main thread in secure world: 1" + - "I am the main thread in secure world: 2" + - "I am the main thread in secure world: 3" diff --git a/samples/drivers/soc_flash_nrf/sample.yaml b/samples/drivers/soc_flash_nrf/sample.yaml index 79eb1818fb..521576b003 100644 --- a/samples/drivers/soc_flash_nrf/sample.yaml +++ b/samples/drivers/soc_flash_nrf/sample.yaml @@ -12,15 +12,15 @@ tests: type: multi_line ordered: true regex: - - "Flash erase succeeded" - - "Data read: 1234" - - "Data read matches data written. Good!" - - "Flash erase succeeded" - - "Data read: 1122" - - "Data read matches data written. Good!" - - "Flash erase succeeded" - - "Data read: 1234" - - "Data read: 1234" - - "Data read matches data written. Good!" - - "SoC flash consists of \\d+ pages." - - "write-block-size = 1" + - "Flash erase succeeded" + - "Data read: 1234" + - "Data read matches data written. Good!" + - "Flash erase succeeded" + - "Data read: 1122" + - "Data read matches data written. Good!" + - "Flash erase succeeded" + - "Data read: 1234" + - "Data read: 1234" + - "Data read matches data written. Good!" + - "SoC flash consists of \\d+ pages." + - "write-block-size = 1" diff --git a/samples/posix/eventfd/sample.yaml b/samples/posix/eventfd/sample.yaml index 5ffc714c39..f5de2fd746 100644 --- a/samples/posix/eventfd/sample.yaml +++ b/samples/posix/eventfd/sample.yaml @@ -16,11 +16,11 @@ tests: type: multi_line ordered: true regex: - - "Writing 1 to efd" - - "Writing 2 to efd" - - "Writing 3 to efd" - - "Writing 4 to efd" - - "Completed write loop" - - "About to read" - - "Read 10 \\(0xa\\) from efd" - - "Finished" + - "Writing 1 to efd" + - "Writing 2 to efd" + - "Writing 3 to efd" + - "Writing 4 to efd" + - "Completed write loop" + - "About to read" + - "Read 10 \\(0xa\\) from efd" + - "Finished"