mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
## Summary Based on [this feedback](https://github.com/astral-sh/ruff/issues/8185#issuecomment-1780092525). Avoid warning about `force-wrap-aliases` and `split-on-trailing-comma` if `force-single-line` is true (which creates a dedicated import for each imported member). ## Test Plan Ran `ruff format . --no-cache` and verified that the warning show up when `force-single-line=false` and aren't shown when `force-single-line=true`