Add .yamllint file

Debian packaging contains a control file called meta_data.yaml.
In that file the download path of the source packages is needed and
is usually long.

Change long line errors to warnings for yaml linter.
Define long line starting from 160 characters for yaml linter.

Story: 2009101
Task: 43223
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I05999d2ce9bd52e317f951ec76688538ef5d7c9b
This commit is contained in:
Dan Voiculeasa 2021-08-31 16:17:39 +03:00
parent 504e2066b1
commit 2918318417

8
.yamllint Normal file
View File

@ -0,0 +1,8 @@
---
extends: default
rules:
# 160 chars should be enough, but don't fail if a line is longer
line-length:
max: 160
level: warning