vulture

scans for unused ("dead") code in a Python program

Install

All systems
curl cmd.cat/vulture.sh
Debian Debian
apt-get install vulture
Ubuntu
apt-get install vulture
image/svg+xml Kali Linux
apt-get install vulture
Fedora
dnf install vulture
Windows (WSL2)
sudo apt-get update sudo apt-get install vulture
Raspbian
apt-get install vulture

vulture

scans for unused ("dead") code in a Python program

Vulture uses static code analysis to find unused classes, functions and variables in Python code. This helps to cleanup and find errors in programs. However, the user has to be aware that the static method has its limitations.

python2-vulture

Find Dead Code