[Github-comments] [geany/geany] Add human-readable representation of tags to unit test results (PR #3051)
Enrico Tröger
notifications at github.com
Mon May 23 21:43:45 UTC 2022
@eht16 commented on this pull request.
> +
+
+inp = sys.stdin.buffer.read()
+
+tag = {}
+pos = 0
+line_start_pos = 0
+line_start = True
+first_line = True
+while pos < len(inp):
+ part, kind, pos = get_next_part(inp, pos, line_start)
+ value = decode_kind(kind, part)
+ tag[kind] = value
+ line_start = False
+ if inp[pos] == ord('\n'):
+ if not first_line:
Good point, I agree with leaving it as is.
Maybe just a short comment might help but only if you agree.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3051#discussion_r879889121
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3051/review/982377096 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220523/2dd4f01e/attachment.htm>
More information about the Github-comments
mailing list