Closed fredrikaverpil closed 3 years ago
@fredrikaverpil If all the three lib
, client1
and client2
live in the same directory, then you can run Vulture on the parent directory, and inspect the output to find any dead code inside lib
which isn't being used by either of the clients.
If installed as a package (via pip, or like), Vulture won't have access to lib
's source code and won't be able to find any dead code inside it.
Great, many thanks - seems to work fine! 👍
Hi!
I'm wondering ... if I have three Python packages installed (or in a folder);
...where the "client1" and "client2" packages import "lib". Can I somehow run vulture on "lib" to see if there is unused code in "lib", never called by either "client1" or "client2"?
Thanks for a great tool! 👍