jendrikseipp / vulture

Find dead Python code
MIT License
3.29k stars 145 forks source link

finding completely dead files #338

Closed tansaku closed 8 months ago

tansaku commented 8 months ago

Hi there, great project!

We've had a problem recently in our codebase with some completely dead files that were not imported anywhere, and were not being run by any tests, but coverage.py still said we have 100% coverage.

Can vulture detect completely dead python files that are not used at all?

Many thanks in advance Best, Sam

jendrikseipp commented 8 months ago

Yes, Vulture will report any names that are defined in the dead file but not used in the dead file.