]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: Add running yamllint to dt_binding_check
authorRob Herring <robh@kernel.org>
Fri, 9 Oct 2020 17:05:57 +0000 (12:05 -0500)
committerRob Herring <robh@kernel.org>
Mon, 12 Oct 2020 14:11:04 +0000 (09:11 -0500)
commit2bc7b2d95991035ccf2fb1ada6e5cacd1f06ae21
treee628b5cf3f205a80e25e1849a6323668d8b23e0b
parentbc328862689eb5e301ddceaed7e0bb69ffd2e450
dt-bindings: Add running yamllint to dt_binding_check

Add a yamllint config file and support for running yamllint on DT
binding schema files. This runs on the whole tree as yamllint is Python
and suffers from Python's slow startup times.

Users can run on individual files doing:

yamllint -c Documentation/devicetree/bindings/.yamllint <binding file>

Link: https://lore.kernel.org/r/20201009170557.168785-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/.yamllint [new file with mode: 0644]
Documentation/devicetree/bindings/Makefile