PyCQA / isort

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

Feature request: per-block sorting strategy (inline sort) #2272

Open Freso opened 2 months ago

Freso commented 2 months ago

Similar to https://github.com/PyCQA/isort/issues/785 I am in a situation where I would like to do no_inline_sort only for LOCALFOLDER.

Being able to define this as

[tool.isort.local_folder]
no_inline_sort = true

and doing settings there would be great.

I guess no_inline_sort_local_folder could also work, but it feels like an endless amount of $option_$section options.