lkml.org 
[lkml]   [2022]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/3] dt-bindings: trivial-devices: fix comment indentation
    On Thu, Jan 13, 2022 at 02:39:40PM +0100, Stanislav Jakubek wrote:
    > Indent comments the same as the content they describe.
    > Fixes yamllint warnings like:
    > 32:13 warning comment not indented like content (comments-indentation)

    But that's not a warning we enable or is this something new in newer
    yamllint?

    In any case, a change like this can only be done at the end of the merge
    window just before rc1. Otherwise, it is merge conflict hell. I would do
    that, but I really prefer it the way it is. The reason is it makes the
    '-' stand out more and those are easy to miss in yaml. For example,
    these look the same but are a bit different:

    - items:
    - const: foo

    - items:
    const: foo

    >
    > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
    > ---
    > .../devicetree/bindings/trivial-devices.yaml | 314 +++++++++---------
    > 1 file changed, 157 insertions(+), 157 deletions(-)

    \
     
     \ /
      Last update: 2022-01-14 16:22    [W:3.705 / U:0.564 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site