You probably don't want to perform all of the available checks for simple YCP
examples. Those should be concise and written for legibility rather than for
completeness. They will usually not contain a standard format file header with
all bells and whistles, no translation markers etc. - you don't want to bloat
HelloWorld.ycp with all that stuff.
check_ycp has a special example mode for just this purpose: It
turns off all checks that don't make sense for simple examples, yet allows you
to use check_ycp anyway. If you think "well, what's left
then?" think about the future. check_ycp can and will be expanded
to cover more and more checks, and even your examples can benefit from it.
For simple YCP examples (and only for them, please!) invoke check_ycp with
the -x command line option:
check_ycp -x HelloWorld.ycp
This turns off all checks that don't make sense for examples.