Hi, I just realised that in bug #731340 a YAML syntax check was just proposed but it seems it not made it into lintian yet. I'm not sure how this solution might compare to the one of #813904 but it might be worth checking. Petter, sorry that I forgot about #731340.
It would be really cool if lintian could provide a yaml check where we now have even two proposed solutions for. We get more and more such yaml files and checking the UDD importer from time to time for broken syntax turned out as not really efficient. Kind regards Andreas. -- http://fam-tille.de