Open
Description
Describe the bug
Due to an open issue with PyYAML
(which is the main dependency of yq
), any yaml files in registries that end in tab characters will cause builds to fail.
Expected behavior
The yaml reference parser does not have an issue with trailing tabs, so this appears to be a PyYAML
issue, but it's probably good practice to avoid trailing whitespace in meta.yamls anyways. It would be great to have a linter of some sort check for e.g. 1) file ends in newline and 2) no trailing whitespace on PRs.
Additional context
See #15483 for our initial encounter with the issue.