I'm working on a project with many different Django apps.
I want to use isort
on this project but the imports from Django apps (from myapp1.mymodule import myfunction
) are seen by isort
as third-party imports.
How can I make isort
recognize them as first-party imports?
I could add in the isort
configuration (in the .cfg
): known_first_party=myapp1,myapp2...
but I'll have to maintain this list.
Is there a better way?