ruff/crates/ruff_linter/resources/test/fixtures/flake8_comprehensions
Dylan 6dcd743111
[`flake8-comprehensions`] Do not lint `async for` comprehensions in `unnecessary-comprehension-in-call (`C419`)` (#12895)
List and set comprehensions using `async for` cannot be replaced with
underlying generators; this PR modifies C419 to skip such
comprehensions.

Closes #12891.
2024-08-15 01:00:10 +00:00
..
C400.py [`flake8-comprehension`] Strip parentheses around generators in C400 (#11607) 2024-05-30 03:26:56 +00:00
C401.py [`flake8-comprehensions`] Handled special case for `C401` which also matches `C416` (#10596) 2024-03-26 03:54:58 +00:00
C402.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C403.py Remove LibCST-based fixer for `C403` (#9818) 2024-02-04 20:08:19 -05:00
C404.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C405.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C406.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C408.py Remove CST-based fixer for `C408` (#9822) 2024-02-04 22:26:51 -05:00
C409.py [flake8-comprehensions] Account for list and set comprehensions in `unnecessary-literal-within-tuple-call` (`C409`) (#12657) 2024-08-04 22:14:52 -04:00
C410.py Remove CST-based fixers for `C400`, `C401`, `C410`, and `C418` (#9819) 2024-02-04 21:00:11 -05:00
C411.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C413.py Wrap expressions in parentheses when negating (#10346) 2024-03-11 18:20:55 -04:00
C414.py Preserve trailing comments in C414 fixes (#7775) 2023-10-03 04:36:51 +00:00
C415.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C416.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C417.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C418.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C419.py [`flake8-comprehensions`] Do not lint `async for` comprehensions in `unnecessary-comprehension-in-call (`C419`)` (#12895) 2024-08-15 01:00:10 +00:00
C419_1.py Raise syntax error for unparenthesized generator expr in multi-argument call (#12445) 2024-07-22 14:44:20 +05:30
C419_2.py [flake8_comprehensions] add sum/min/max to unnecessary comprehension check (C419) (#10759) 2024-04-03 14:44:33 -06:00
C420.py Re-code `unnecessary-dict-comprehension-for-iterable` (`RUF025`) as `C420` (#12533) 2024-08-14 18:15:45 +02:00