ruff/crates/ruff_linter/resources/test/fixtures/flake8_comprehensions
Dan Parizher c0fb235a70
[`flake8-comprehensions`] Preserve trailing commas for single-element lists (`C409`) (#19571)
## Summary

Fixes #19568
2025-09-19 09:27:14 -04:00
..
C400.py [`flake8-comprehensions`] Handle trailing comma in fixes for `unnecessary-generator-list/set` (`C400`,`C401`) (#15929) 2025-02-05 07:38:03 -06:00
C401.py [`flake8-comprehensions`] Handle template strings for comprehension fixes (#18710) 2025-06-19 16:23:46 -05:00
C402.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C403.py [`flake8-comprehensions`] Handle template strings for comprehension fixes (#18710) 2025-06-19 16:23:46 -05:00
C404.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C405.py [`flake8-comprehensions`] Handle template strings for comprehension fixes (#18710) 2025-06-19 16:23:46 -05:00
C406.py Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
C408.py [`flake8-comprehensions`] Handle template strings for comprehension fixes (#18710) 2025-06-19 16:23:46 -05:00
C409.py [`flake8-comprehensions`] Preserve trailing commas for single-element lists (`C409`) (#19571) 2025-09-19 09:27:14 -04:00
C410.py [`flake8-comprehensions`] Skip when `TypeError` present from too many (kw)args for `C410`,`C411`, and `C418` (#15838) 2025-01-30 17:10:43 -06:00
C411.py [`flake8-comprehensions`] Skip when `TypeError` present from too many (kw)args for `C410`,`C411`, and `C418` (#15838) 2025-01-30 17:10:43 -06:00
C413.py [`flake8-comprehensions`] Parenthesize `sorted` when needed for `unnecessary-call-around-sorted` (`C413`) (#15825) 2025-01-30 07:10:56 -06: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 [`flake8-comprehensions`] Skip `C416` if comprehension contains unpacking (#14909) 2024-12-20 14:35:30 +05:30
C417.py [`flake8-comprehensions`] Skip `C417` when lambda contains `yield`/`yield from` (#20201) 2025-09-03 16:39:11 -04:00
C417_1.py [`flake8-comprehensions`] Detect overshadowed `list`/`set`/`dict`, ignore variadics and named expressions (`C417`) (#15955) 2025-02-07 08:58:05 +00:00
C418.py [`flake8-comprehensions`] Skip when `TypeError` present from too many (kw)args for `C410`,`C411`, and `C418` (#15838) 2025-01-30 17:10:43 -06: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 [`flake8-comprehension`] Mark autofix for `C420` as unsafe if there's comments inside the dict comprehension (#18768) 2025-06-19 09:43:05 +00:00
C420_1.py [`flake8-comprehensions`] Handle builtins at top of file correctly for `unnecessary-dict-comprehension-for-iterable` (`C420`) (#15837) 2025-01-30 15:49:13 -06:00
C420_2.py [`flake8-comprehensions`] Fix `C420` to prepend whitespace when needed (#18616) 2025-06-30 12:38:26 -04:00
C420_3.py [`flake8-comprehensions`] Fix false positive for `C420` with attribute, subscript, or slice assignment targets (#19513) 2025-08-08 15:02:30 -04:00