From a2e5bd1928ad88cf8712797bf5c1e3d94beac659 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Tue, 3 Jan 2023 12:16:18 +0000 Subject: [PATCH] yamllint: fix all yamllint comments errors Fix all hyphens errors detected by yamllint: yamllint -f parsable -c .yamllint $( find -regex '.*\.y[a]*ml' ) | \ grep '(comments)' Default config would be to require two spaces after the start of the comment, proposing to keep it on 1, inline with the Linux binding config, that is: ``` - comments: - min-spaces-from-content: 1 ``` Signed-off-by: Fabio Baltieri --- .codecov.yml | 8 ++++---- dts/bindings/dma/nxp,lpc-dma.yaml | 2 +- dts/bindings/dma/nxp,mcux-edma.yaml | 2 +- dts/bindings/ethernet/ethernet,fixed-link.yaml | 2 +- dts/bindings/i2c/ti,tca9546a.yaml | 2 +- dts/bindings/i2c/ti,tca9548a.yaml | 2 +- .../dummy_partition/tfm_dummy_partition.yaml | 4 ++-- tests/boards/native_posix/rtc/testcase.yaml | 2 +- tests/subsys/logging/log_api/testcase.yaml | 8 ++++---- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 85cc860d5539eb..5d6000ba2c30f9 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -12,10 +12,10 @@ coverage: patch: yes changes: no -#ignore: -# - "tests/**/*" -# - "samples/**/*" -# - "ext/hal/**/*" +# ignore: +# - "tests/**/*" +# - "samples/**/*" +# - "ext/hal/**/*" parsers: gcov: diff --git a/dts/bindings/dma/nxp,lpc-dma.yaml b/dts/bindings/dma/nxp,lpc-dma.yaml index 3e1b7c3571ad8b..ac3db2365e155b 100644 --- a/dts/bindings/dma/nxp,lpc-dma.yaml +++ b/dts/bindings/dma/nxp,lpc-dma.yaml @@ -22,7 +22,7 @@ properties: required: true description: Number of items to expect in a DMA specifier -#- #dma-cells : Must be <1>. +# - #dma-cells : Must be <1>. # channel: the dma channel, each channel supports one DMA request line dma-cells: diff --git a/dts/bindings/dma/nxp,mcux-edma.yaml b/dts/bindings/dma/nxp,mcux-edma.yaml index a95afeff465ce5..1994e73584bc28 100644 --- a/dts/bindings/dma/nxp,mcux-edma.yaml +++ b/dts/bindings/dma/nxp,mcux-edma.yaml @@ -37,7 +37,7 @@ properties: # in the Linux kernel declared in # https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/tree/Bindings/dma/fsl-edma.txt # -#- #dma-cells : Must be <2>. +# - #dma-cells : Must be <2>. # The 1st cell specifies the DMAMUX(0 for DMAMUX0 and 1 for DMAMUX1). # Specific request source can only be multiplexed by specific channels # group called DMAMUX. diff --git a/dts/bindings/ethernet/ethernet,fixed-link.yaml b/dts/bindings/ethernet/ethernet,fixed-link.yaml index 3d21da73ea3f0b..6a6f9447f76df8 100644 --- a/dts/bindings/ethernet/ethernet,fixed-link.yaml +++ b/dts/bindings/ethernet/ethernet,fixed-link.yaml @@ -1,5 +1,5 @@ # Copyright (c) 2020, DENX Software Engineering GmbH -# Lukasz Majewski +# Lukasz Majewski # SPDX-License-Identifier: Apache-2.0 child-binding: diff --git a/dts/bindings/i2c/ti,tca9546a.yaml b/dts/bindings/i2c/ti,tca9546a.yaml index 1e0bb69d5fb665..95741cd72c3980 100644 --- a/dts/bindings/i2c/ti,tca9546a.yaml +++ b/dts/bindings/i2c/ti,tca9546a.yaml @@ -1,4 +1,4 @@ -#Binding for TI TCA9546A, compatible with NXP PCA9546A +# Binding for TI TCA9546A, compatible with NXP PCA9546A description: Texas Instruments TCA9546A binding diff --git a/dts/bindings/i2c/ti,tca9548a.yaml b/dts/bindings/i2c/ti,tca9548a.yaml index f894881b8cc917..bddf59e120a449 100644 --- a/dts/bindings/i2c/ti,tca9548a.yaml +++ b/dts/bindings/i2c/ti,tca9548a.yaml @@ -1,4 +1,4 @@ -#Binding for TI TCA9548A, compatible with NXP PCA9548A +# Binding for TI TCA9548A, compatible with NXP PCA9548A description: Texas Instruments TCA9548A binding diff --git a/samples/tfm_integration/tfm_secure_partition/dummy_partition/tfm_dummy_partition.yaml b/samples/tfm_integration/tfm_secure_partition/dummy_partition/tfm_dummy_partition.yaml index 36281ea6e81cc0..7900be454dd3d3 100644 --- a/samples/tfm_integration/tfm_secure_partition/dummy_partition/tfm_dummy_partition.yaml +++ b/samples/tfm_integration/tfm_secure_partition/dummy_partition/tfm_dummy_partition.yaml @@ -1,10 +1,10 @@ -#------------------------------------------------------------------------------- +# ------------------------------------------------------------------------------- # Copyright (c) 2018-2020, Arm Limited. All rights reserved. # Copyright (c) 2021, Nordic Semiconductor ASA. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # -#------------------------------------------------------------------------------- +# ------------------------------------------------------------------------------- { "psa_framework_version": 1.0, diff --git a/tests/boards/native_posix/rtc/testcase.yaml b/tests/boards/native_posix/rtc/testcase.yaml index 2fcbfcc7752fa8..129c382be8078e 100644 --- a/tests/boards/native_posix/rtc/testcase.yaml +++ b/tests/boards/native_posix/rtc/testcase.yaml @@ -5,5 +5,5 @@ tests: integration_platforms: - native_posix build_only: true -#Note: this test depends too much on not having a high host load to pass. +# Note: this test depends too much on not having a high host load to pass. # Therefore it should not be run in automated regression diff --git a/tests/subsys/logging/log_api/testcase.yaml b/tests/subsys/logging/log_api/testcase.yaml index 39d054879dc93c..cd7fd52efa3d89 100644 --- a/tests/subsys/logging/log_api/testcase.yaml +++ b/tests/subsys/logging/log_api/testcase.yaml @@ -32,7 +32,7 @@ tests: - CONFIG_LOG_MODE_DEFERRED=y - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y - CONFIG_LOG_PRINTK=y - #When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. + # When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. - CONFIG_LOG_PROCESS_THREAD=y logging.log_api_deferred_func_prefix: @@ -166,7 +166,7 @@ tests: - CONFIG_LOG_MODE_DEFERRED=y - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y - CONFIG_LOG_PRINTK=y - #When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. + # When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. - CONFIG_LOG_PROCESS_THREAD=y - CONFIG_CPLUSPLUS=y @@ -283,7 +283,7 @@ tests: - CONFIG_LOG_MODE_DEFERRED=y - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y - CONFIG_LOG_PRINTK=y - #When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. + # When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. - CONFIG_LOG_PROCESS_THREAD=y - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y @@ -396,7 +396,7 @@ tests: - CONFIG_LOG_MODE_DEFERRED=y - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y - CONFIG_LOG_PRINTK=y - #When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. + # When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. - CONFIG_LOG_PROCESS_THREAD=y - CONFIG_CPLUSPLUS=y - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y