vulture
https://github.com/jendrikseipp/vulture
Python
Find dead Python code
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported3 Subscribers
Add a CodeTriage badge to vulture
Help out
- Issues
- False negative: Method calling another method with same name not detected as unused
- add pylint disable support
- Feature: Incremental analysis
- Project entrypoints should never show as unused
- add noqa support for ruff/flake8 ARG codes and uncomment README documenation
- Ignoring ignore_class_attrs on flag
- Feature: Utilize a control flow graph to detect unused code
- Add --ignore-attributes-for-classes option.
- handle pytest autouse fixtures
- ignore double underscore (`__foo`) variables/methods
- Docs
- Python not yet supported