This host package is needed since u-boot 2024.04 for building ti defconfigs. This is an requirement for using buildman/binman [1]. [1] https://source.denx.de/u-boot/u-boot/-/blob/v2024.04/tools/buildman/requirements.txt?ref_type=tags#L3 Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
14 lines
294 B
Python
14 lines
294 B
Python
# example form https://yamllint.readthedocs.io/en/stable/development.html
|
|
|
|
from yamllint import (config, linter)
|
|
|
|
data = '''---
|
|
- &anchor
|
|
foo: bar
|
|
- *anchor
|
|
'''
|
|
|
|
yaml_config = config.YamlLintConfig("extends: default")
|
|
for p in linter.run(data, yaml_config):
|
|
print(p.desc, p.line, p.rule)
|