PyCQA / isort

A Python utility / library to sort imports.
https://pycqa.github.io/isort/
MIT License
6.53k stars 583 forks source link

Black line length config support when using `--profile black`? #2248

Open benbariteau opened 8 months ago

benbariteau commented 8 months ago

I know this may be asking a lot, but it would be nice if a different line length than 88 were configured for black that that is respected by isort. I know reading a different tool's configuration is a little iffy, but it would make the usage of both together less finicky.

benbariteau commented 8 months ago

Giving this more thought, it seems perhaps appropriate to just let black handle this. One can probably assume that when using --profile black that is the case, I think? I wonder if we could just change that profile to disable line length considerations entirely instead of setting it to the default for black?