ruff/crates/ruff_linter/resources/test/fixtures/flake8_comprehensions/C411.py

3 lines
35 B
Python

x = [1, 2, 3]
list([i for i in x])