Closed stephanie-eng closed 1 year ago
Mostly by luck, really. I just decided to start from a clean workspace and pulled all dependencies + rebuilt MoveIt today.
There is check yaml running as part of pre-commit-ci, why does it not catch this problem? Maybe you could open an issue with them?
There is check yaml running as part of pre-commit-ci, why does it not catch this problem?
The syntax is OK, but semantically, the comment becomes part of the scalar text value, which is not intended here. Hence, the linter works fine. It can not know about our semantic intention.
The YAML specification does not support comments inside scalars, such as the one used to specify
request_adapters
. These lines will not be interpreted correctly. This PR moves the comments outside of the scalar such that they are properly interpreted as comments.I wrote this script to check the repo for all potential issues of this nature and fixed the three that it found.