Apply ruff flake8-comprehensions (#21694)
This commit is contained in:
@@ -166,7 +166,7 @@ def reduce_by_model(logs, error_filter=None):
|
||||
|
||||
logs = [(x[0], x[1], get_model(x[2])) for x in logs]
|
||||
logs = [x for x in logs if x[2] is not None]
|
||||
tests = set([x[2] for x in logs])
|
||||
tests = {x[2] for x in logs}
|
||||
|
||||
r = {}
|
||||
for test in tests:
|
||||
|
||||
Reference in New Issue
Block a user