1 个仓库
Identification of unreferenced functions, classes, and variables specifically within Python source code.
Distinct from Dead Code Detection: Specific to the Python language, unlike the PHP-focused sibling candidate.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Python Dead Code Detection. Refine with filters or upvote what's useful.
Vulture is a static analysis tool and linter designed to find unused variables, functions, and classes in Python source code. It operates as a dead code detector and unused code finder that scans source files to identify unreachable expressions and imports without executing the code. The tool employs a confidence-based heuristic scoring system to assign probability values to detections, helping to distinguish truly unused symbols from potential false positives. It further assists in pruning dead logic by sorting detected unused classes and functions by line count to prioritize the removal of
Identifies unused functions, classes, and variables in Python source code to reduce technical debt.