ruff/crates/ruff_linter
wooly18 1ba8e61875
[flake8-comprehensions] strip parentheses around generators in unnecessary-generator-set (C401) (#15553)
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

Fixes parentheses not being stripped in C401. Pretty much the same as
#11607 which fixed it for C400.

## Test Plan
`cargo nextest run`
2025-01-17 18:08:22 +01:00
..
resources [flake8-comprehensions] strip parentheses around generators in unnecessary-generator-set (C401) (#15553) 2025-01-17 18:08:22 +01:00
src [flake8-comprehensions] strip parentheses around generators in unnecessary-generator-set (C401) (#15553) 2025-01-17 18:08:22 +01:00
Cargo.toml Bump version to 0.9.2 (#15529) 2025-01-16 13:07:26 +00:00