Skip to content

yamllint: fix various yamllint warning #53449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 .github/workflows/bug_snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Bug Snapshot

on:
workflow_dispatch:
branches: [ main ]
branches: [main]
schedule:
# Run daily at 14:05
- cron: '5 14 * * *'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
name: "Publish Coverage Results"
needs: codecov
runs-on: ubuntu-20.04
# the codecov job might be skipped, we don't need to run this job then
# the codecov job might be skipped, we don't need to run this job then
if: success() || failure()

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- name: upload-results
uses: actions/upload-artifact@v3
continue-on-error: True
continue-on-error: true
with:
name: compliance.xml
path: compliance.xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily_test_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Publish commit for daily testing

on:
schedule:
- cron: '50 22 * * *'
- cron: '50 22 * * *'
push:
branches:
- refs/tags/*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/issue_count.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Issue Tracker

on:
schedule:
- cron: '*/10 * * * *'
- cron: '*/10 * * * *'

env:
OUTPUT_FILE_NAME: IssuesReport.md
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:

- name: upload-stats
uses: actions/upload-artifact@v3
continue-on-error: True
continue-on-error: true
with:
name: ${{ env.OUTPUT_FILE_NAME }}
path: ${{ env.OUTPUT_FILE_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: upload-results
uses: actions/upload-artifact@v3
continue-on-error: True
continue-on-error: true
with:
name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
path: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stale-workflow-queue-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Stale Workflow Queue Cleanup

on:
workflow_dispatch:
branches: [ main ]
branches: [main]
schedule:
# everyday at 15:00
# everyday at 15:00
- cron: '0 15 * * *'

concurrency:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/stale_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ jobs:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.'
stale-issue-message: 'This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.'
stale-pr-message: 'This pull request has been marked as stale because it has been open (more
than) 60 days with no activity. Remove the stale label or add a comment saying that you
would like to have the label removed otherwise this pull request will automatically be
closed in 14 days. Note, that you can always re-open a closed pull request at any time.'
stale-issue-message: 'This issue has been marked as stale because it has been open (more
than) 60 days with no activity. Remove the stale label or add a comment saying that you
would like to have the label removed otherwise this issue will automatically be closed in
14 days. Note, that you can always re-open a closed issue at any time.'
days-before-stale: 60
days-before-close: 14
stale-issue-label: 'Stale'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ jobs:
OPENSEARCH_PASS: ${{ secrets.OPENSEARCH_PASS }}
needs: twister-build
runs-on: ubuntu-20.04
# the build-and-test job might be skipped, we don't need to run this job then
# the build-and-test job might be skipped, we don't need to run this job then
if: success() || failure()

steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Copyright (c) 2021 Casper Meijn <[email protected]>
# SPDX-License-Identifier: Apache-2.0

description: Key out definition for PineTime. This pin needs to be high before the button (key_in) becomes available.
description: |
Key out definition for PineTime. This pin needs to be high before the button (key_in) becomes
available.

compatible: "pine64,pinetime-key-out"

Expand Down
2 changes: 1 addition & 1 deletion boards/arm64/mimx8mm_evk/mimx8mm_evk_a53.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 128
ram: 128
testing:
ignore_tags:
- net
Expand Down
2 changes: 1 addition & 1 deletion boards/arm64/mimx8mm_evk/mimx8mm_evk_a53_smp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 128
ram: 128
testing:
ignore_tags:
- net
Expand Down
2 changes: 1 addition & 1 deletion boards/arm64/mimx8mn_evk/mimx8mn_evk_a53.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 1024
ram: 1024
testing:
ignore_tags:
- net
Expand Down
2 changes: 1 addition & 1 deletion boards/arm64/mimx8mn_evk/mimx8mn_evk_a53_smp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 1024
ram: 1024
testing:
ignore_tags:
- net
Expand Down
2 changes: 1 addition & 1 deletion boards/arm64/mimx8mp_evk/mimx8mp_evk_a53.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 128
ram: 128
testing:
ignore_tags:
- net
Expand Down
2 changes: 1 addition & 1 deletion boards/arm64/mimx8mp_evk/mimx8mp_evk_a53_smp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 128
ram: 128
testing:
ignore_tags:
- net
Expand Down
2 changes: 1 addition & 1 deletion boards/arm64/mimx93_evk/mimx93_evk_a55.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ arch: arm64
toolchain:
- zephyr
- cross-compile
ram: 1024
ram: 1024
testing:
ignore_tags:
- net
Expand Down
3 changes: 2 additions & 1 deletion dts/bindings/adc/infineon,xmc4xxx-adc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ description: |
Infineon XMC4XXX ADC
Each ADC group XMC4XXX is assigned to a Zephyr device. Refer to Infineon XMC4XXX reference manual
(Section Port I/O functions) for the group/chanel mapping to a specific port-pin on the board.
For example on the xmc45_relax_kit P14.0 is mapped to adc0,channel0 and P14.1 is mapped to adc0,channel1.
For example on the xmc45_relax_kit P14.0 is mapped to adc0,channel0 and P14.1 is mapped to
adc0,channel1.

compatible: "infineon,xmc4xxx-adc"

Expand Down
21 changes: 2 additions & 19 deletions dts/bindings/base/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include: [pm.yaml]
properties:
status:
type: string
required: false
description: indicates the operational status of a device
enum:
- "ok" # Deprecated form
Expand All @@ -23,89 +22,73 @@ properties:
reg:
type: array
description: register space
required: false

reg-names:
type: string-array
description: name of each register space
required: false

interrupts:
type: array
required: false
description: interrupts for device

# Does not follow the 'type: phandle-array' scheme, but gets type-checked
# by the code. Declare it here just so that other bindings can make it
# 'required: true' easily if they want to.
interrupts-extended:
type: compound
required: false
description: extended interrupt specifier for device

interrupt-names:
type: string-array
required: false
description: name of each interrupt

interrupt-parent:
type: phandle
required: false
description: phandle to interrupt controller node

label:
type: string
required: false
deprecated: true
description: Human readable string describing the device (used as device_get_binding() argument)
description: |
Human readable string describing the device (used as device_get_binding() argument)

clocks:
type: phandle-array
required: false
description: Clock gate information

clock-names:
type: string-array
required: false
description: name of each clock

"#address-cells":
type: int
required: false
description: number of address cells in reg property

"#size-cells":
type: int
required: false
description: number of size cells in reg property

dmas:
required: false
type: phandle-array
description: DMA channels specifiers

dma-names:
required: false
type: string-array
description: Provided names of DMA channel specifiers

io-channels:
required: false
type: phandle-array
description: IO channels specifiers

io-channel-names:
required: false
type: string-array
description: Provided names of IO channel specifiers

mboxes:
required: false
type: phandle-array
description: mailbox / IPM channels specifiers
specifier-space: mbox

mbox-names:
required: false
type: string-array
description: Provided names of mailbox / IPM channel specifiers
3 changes: 2 additions & 1 deletion dts/bindings/clock/intel,adsp-shim-clkctl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ compatible: "intel,adsp-shim-clkctl"
properties:
adsp-clkctl-clk-wovcro:
type: int
description: Index of WOVCRO clock encoding in the encoding array (if wovcro-supported is true).
description: |
Index of WOVCRO clock encoding in the encoding array (if wovcro-supported is true).

adsp-clkctl-clk-lpro:
type: int
Expand Down
12 changes: 6 additions & 6 deletions dts/bindings/coredump/zephyr,coredump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ properties:
into the coredump. The memory-regions array can contain 0 or more entries, and more
regions can be added at runtime through the coredump_device_register_memory API.
A device of type COREDUMP_TYPE_CALLBACK must specify exactly one entry in the
memory-regions array with a size of 0 and a desired size. The coredump device will statically
allocate a block of memory of the desired size and provide a callback with a pointer to
that memory which will be invoked at the time of a dump. This allows a consumer to add data
into the coredump that may not be directly accessible through a memcpy and/or provides an
opportunity to manipulate data for inclusion in the dump. The coredump_device_register_memory
API is not available for a device of this type.
memory-regions array with a size of 0 and a desired size. The coredump device will
statically allocate a block of memory of the desired size and provide a callback with a
pointer to that memory which will be invoked at the time of a dump. This allows a consumer
to add data into the coredump that may not be directly accessible through a memcpy and/or
provides an opportunity to manipulate data for inclusion in the dump. The
coredump_device_register_memory API is not available for a device of this type.
enum:
- "COREDUMP_TYPE_MEMCPY"
- "COREDUMP_TYPE_CALLBACK"
2 changes: 1 addition & 1 deletion dts/bindings/cpu/nuclei,bumblebee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ properties:
mcause-exception-mask:
type: int
required: true
description: Specify the bits to use for exception code in mcause register.
description: Specify the bits to use for exception code in mcause register.
2 changes: 1 addition & 1 deletion dts/bindings/display/ilitek,ili9341.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ properties:

etmod:
type: uint8-array
default: [ 0x06 ]
default: [0x06]
description:
Entry Mode Set (ETMOD) register value.

Expand Down
32 changes: 16 additions & 16 deletions dts/bindings/display/nxp,imx-elcdif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,22 @@ properties:
- 15
description:
OR'ed value of elcdif_polarity_flags, used to control the signal polarity.
0000 VSYNC active low, HSYNC active low, Drive data on falling edge, Data enable active low.
0001 VSYNC active low, HSYNC active low, Drive data on falling edge, Data enable active high.
0010 VSYNC active low, HSYNC active low, Drive data on rising edge, Data enable active low.
0011 VSYNC active low, HSYNC active low, Drive data on rising edge, Data enable active high.
0100 VSYNC active low, HSYNC active high, Drive data on falling edge, Data enable active low.
0101 VSYNC active low, HSYNC active high, Drive data on falling edge, Data enable active high.
0110 VSYNC active low, HSYNC active high, Drive data on rising edge, Data enable active low.
0111 VSYNC active low, HSYNC active high, Drive data on rising edge, Data enable active high.
1000 VSYNC active high, HSYNC active low, Drive data on falling edge, Data enable active low.
1001 VSYNC active high, HSYNC active low, Drive data on falling edge, Data enable active high.
1010 VSYNC active high, HSYNC active low, Drive data on rising edge, Data enable active low.
1011 VSYNC active high, HSYNC active low, Drive data on rising edge, Data enable active high.
1100 VSYNC active high, HSYNC active high, Drive data on falling edge, Data enable active low.
1101 VSYNC active high, HSYNC active high, Drive data on falling edge, Data enable active high.
1110 VSYNC active high, HSYNC active high, Drive data on rising edge, Data enable active low.
1111 VSYNC active high, HSYNC active high, Drive data on rising edge, Data enable active high.
0000 VSYNC active low, HSYNC active low, Drive data on falling edge, DE active low.
0001 VSYNC active low, HSYNC active low, Drive data on falling edge, DE active high.
0010 VSYNC active low, HSYNC active low, Drive data on rising edge, DE active low.
0011 VSYNC active low, HSYNC active low, Drive data on rising edge, DE active high.
0100 VSYNC active low, HSYNC active high, Drive data on falling edge, DE active low.
0101 VSYNC active low, HSYNC active high, Drive data on falling edge, DE active high.
0110 VSYNC active low, HSYNC active high, Drive data on rising edge, DE active low.
0111 VSYNC active low, HSYNC active high, Drive data on rising edge, DE active high.
1000 VSYNC active high, HSYNC active low, Drive data on falling edge, DE active low.
1001 VSYNC active high, HSYNC active low, Drive data on falling edge, DE active high.
1010 VSYNC active high, HSYNC active low, Drive data on rising edge, DE active low.
1011 VSYNC active high, HSYNC active low, Drive data on rising edge, DE active high.
1100 VSYNC active high, HSYNC active high, Drive data on falling edge, DE active low.
1101 VSYNC active high, HSYNC active high, Drive data on falling edge, DE active high.
1110 VSYNC active high, HSYNC active high, Drive data on rising edge, DE active low.
1111 VSYNC active high, HSYNC active high, Drive data on rising edge, DE active high.

pixel-format:
type: string
Expand Down
2 changes: 1 addition & 1 deletion dts/bindings/display/st,stm32-ltdc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: STM32 LCD-TFT display controller

compatible: "st,stm32-ltdc"

include: [display-controller.yaml, pinctrl-device.yaml]
include: [display-controller.yaml, pinctrl-device.yaml]

properties:
disp-on-gpios:
Expand Down
Loading