[riot-notifications] [RIOT-OS/RIOT] ci/flake8: fix some issues found by static-tests ran on master (#15720)
notifications at github.com
Thu Jan 7 19:13:29 CET 2021
@miri64 commented on this pull request.
> +def list_until(trace_list, cond):
+ return trace_list[:([i for i, e in enumerate(trace_list) if cond(e)])]
Though come to think of it: list should probably be fine as well, as the casting function `list` is not a keyword, but some linters might complain ;-).
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications