Open jherland opened 1 year ago
Example of such corner case: https://github.com/tweag/FawltyDeps/issues#issuecomment-1416055168
Yes, the issues we are battling in PR #105 are precisely of the kind I allude to in the issue description above. They were not as clear to me when I first created this issue. One of the things we've learned today is that isort
requires some extra hand-holding in its config in order to resolve imports in the same manner that Python itself does (and thus be able to differentiate first- and third-party imports correctly). Once we solve this for our current real_projects
, I feel we can drop the https://github.com/tweag/FawltyDeps/milestone/1 milestone for this issue, and reconsider if there are further corner cases to be solved before the https://github.com/tweag/FawltyDeps/milestone/2 milestone
With #116 merged, I am removing the "First prototype" milestone from this issue. Not sure whether to close the issue completely yet, or retarget it for a later milestone?
In commit 9fa05db56531f5d69048e409cd080466e75aa43e we introduced some basic configuration of
isort
in order to enableisort.place_module()
to correctly differentiate first-party from third-party imports on Python code.However, there are corner cases that have not yet been fully considered/resolved. From the commit message: