Skip to content
Snippets Groups Projects
Commit a3baa39e authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Refactoring: use list comprehensions

A list comprehension can create the list on one line, cutting out the
clutter of declaring an empty list and then appending values.

See for reference:
https://docs.sourcery.ai/Reference/Python/Default-Rules/list-comprehension/
parent 52de8d7c
No related branches found
No related tags found
1 merge request!291Refactoring: use list comprehensions
Pipeline #72198 skipped with stage
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment