Replies: 1 comment
-
This is something I'd like to see added as well. Our project is split into many frameworks so it'd be nice to know when one framework is no longer using code from another that it used to. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello! i've spent a bit of time recently looking into what it would take to add support for unused import detection. from what i understand, it seems like it should in theory be fairly straightforward – conceptually we should just need to add a pass that does something like the following:
ImportVisitor
)however, i'm struggling to come up with a precise way to implement step
2.
. any thoughts on the general approach, or ideas about how to derive a mapping from symbols to the module providing their visibility?Beta Was this translation helpful? Give feedback.
All reactions