Skip to content

Commit

Permalink
yamllint: fix all yamllint comments errors
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
fabiobaltieri authored and stephanosio committed Jan 3, 2023
1 parent e0cc2b8 commit a2e5bd1
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ coverage:
patch: yes
changes: no

#ignore:
# - "tests/**/*"
# - "samples/**/*"
# - "ext/hal/**/*"
# ignore:
# - "tests/**/*"
# - "samples/**/*"
# - "ext/hal/**/*"

parsers:
gcov:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/dma/nxp,lpc-dma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/dma/nxp,mcux-edma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/ethernet/ethernet,fixed-link.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2020, DENX Software Engineering GmbH
# Lukasz Majewski <[email protected]>
# Lukasz Majewski <[email protected]>
# SPDX-License-Identifier: Apache-2.0

child-binding:
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/i2c/ti,tca9546a.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/i2c/ti,tca9548a.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/boards/native_posix/rtc/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions tests/subsys/logging/log_api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a2e5bd1

Please sign in to comment.