[riot-notifications] [RIOT-OS/RIOT] ci/flake8: fix some issues found by static-tests ran on master (#15720)

Alexandre Abadie notifications at github.com
Thu Jan 7 19:10:03 CET 2021

@aabadie 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)][0])]

Seems like [your suggestion is PEP8 valid](https://www.python.org/dev/peps/pep-0008/#id46), so let's do that.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210107/c923ef0f/attachment.htm>

More information about the notifications mailing list