#49 spec.yaml should start with ---
Closed: Invalid 5 years ago Opened 6 years ago by mizdebsk.

yamllint warns about missing document start "---" (document-start)

See https://bugzilla.redhat.com/show_bug.cgi?id=1489176#c5


Hmm, we could add this but since the file contains only a single document, boundaries are, according to all three versions of the YAML standard, optional.

Hmm, perhaps this should be clarified in the module packaging guidelines or the review process document -- I misread the part of using yamllint to mark a review as trivial in that it should be silent: https://fedoraproject.org/wiki/Module:Review_Process#The_Whiteboard

I'm not against suggesting best practices to silence YAML linters in the guidelines. However, as I noted in the first comment, the document separator is optional and is up to the module author. I think the linter shouldn't complain about this in the first place.

Metadata Update from @psabata:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata