Closed lmolkova closed 1 month ago
Also maybe need to escape \
- need to check if java/c#/any other language needs it, python linters complain about docstring with unescaped \
:
/home/runner/work/opentelemetry-python/opentelemetry-python/opentelemetry-semantic-conventions/src/opentelemetry/semconv/_incubating/metrics/system_metrics.py:156:9: W605 invalid escape sequence '\%'
See also #291
duplicate of #309
Implemented in #309
We can do a better job in semantic conventions wrt trailing dots (we don't 😿 ), but build-tools compensated for it by removing trailing dots at the end of the note or brief.
comment_with_prefix
could implement this behavior, which is apparently not trivial to do in jinja.IT could also be useful to trim any whitespace characters that might or might not be enforced by they yamllint in semantic conventions.