Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect magic trailing comma for set expression (astral-sh#5782)
<!-- 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 This PR uses the `join_comma_separated` builder for formatting set expressions to ensure the formatting preserves magic commas, if the setting is enabled. <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan See the fixed black tests <!-- How was it tested? -->
- Loading branch information