But for isort one specifies the `known_first_party` and `known_third_party` packages. https://github.com/timothycrosley/isort#configuring-isort
At least I was under the impression that that's the only way how it decides where to place imports. Cheers, Markus On Tue, Apr 28, 2020, at 9:41 PM, charettes wrote: > It's notoriously hard to distinguish between first-party and > third-party apps but I know some package manage to do it relatively > well (e.g. isort). > > Le mardi 28 avril 2020 14:32:13 UTC-4, Javier Buzzi a écrit : > > To be kind to the user, absolutely! .. any idea on how to implement it O:) > > > >> On Apr 28, 2020, at 2:29 PM, charettes <char...@gmail.com> wrote: > >> > >> Don't we need to prevent that from happening anyway? I guess we'd want to > >> prevent --crossapp=auth from working as well. > >> > >> Le mardi 28 avril 2020 13:50:54 UTC-4, Javier Buzzi a écrit : > >>> To do that we need to know which apps are part of your project, and which > >>> are not. Otherwise you'll be squashing "django.contrib.auth" as an > >>> example, and you're not going to have a fun time at that.. > >> > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Django developers (Contributions to Django itself)" group. > >> To unsubscribe from this group and stop receiving emails from it, send an > >> email to django-d...@googlegroups.com. > >> To view this discussion on the web visit > >> https://groups.google.com/d/msgid/django-developers/ca814e82-9258-40eb-afed-82edb0bc29c8%40googlegroups.com > >> > >> <https://groups.google.com/d/msgid/django-developers/ca814e82-9258-40eb-afed-82edb0bc29c8%40googlegroups.com?utm_medium=email&utm_source=footer>. > > > > -- > You received this message because you are subscribed to the Google > Groups "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/8af08a8f-4f4d-4fef-8daa-e3743a1f8468%40googlegroups.com > > <https://groups.google.com/d/msgid/django-developers/8af08a8f-4f4d-4fef-8daa-e3743a1f8468%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3f95c379-9958-4ec9-8a14-aa0243f0ecb8%40www.fastmail.com.