ruff
2e730ef3 - [`isort`] Exclude pragma comments from line length calculation (`I001`) (#27313)

Commit
10 days ago
[`isort`] Exclude pragma comments from line length calculation (`I001`) (#27313) ## Summary multiple issues arise of line length limits conflicting with per-line suppressions. it was proposed that pragmas should not be included in line length calculation. this is an attempt at that fixes https://github.com/astral-sh/ruff/issues/12179 fixes https://github.com/astral-sh/ruff/issues/20042 fixes https://github.com/astral-sh/ruff/issues/27059 ## Test Plan - added/amended existing test cases - verified expected behavior on large existing codebase that has several existing line-wrapping issues. all are now automatically fixed by ruff --------- Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>
Author
Parents
Loading