vulture
scans for unused ("dead") code in a Python program
Install
- All systems
-
curl cmd.cat/vulture.sh
- Debian
-
apt-get install vulture
- Ubuntu
-
apt-get install vulture
- 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
- Dockerfile
- dockerfile.run/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.