Closed valyagolev closed 3 years ago
HI @valyagolev, Vulture doesn't have the concept of namespaces -- everything Vulture collects, it stores in a common set -- which is why if a class is being used at least once in the entire codebase, it won't be reported as unused.
I see, thank you. Is this as intended or is this something there's a plan to change?
This is intended, as there's no easy way to shelter namespaces.
Thanks @RJ722 for answering this one!
vulture
seems like a very useful tool, yet I can't configure it quite right. Perhaps it's a bug - or a configuration issue that could be explained slightly better.The problem persists even with the empty
pyproject.toml
, so I won't attach it.Since unused imports are exactly what I'm after, this is something I'd love to get reported right.