vulture
« Back to VersTracker
Description:
Find dead Python code
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python static-analysis code-quality linting developer-tools
Install: brew install vulture
About:
Vulture is a Python tool that finds dead code in Python programs. It analyzes codebases to identify unused classes, functions, variables, and imports, helping developers clean up their code. This improves maintainability and reduces technical debt.
Key Features:
  • Identifies unused code (functions, classes, variables, imports)
  • Supports Python 3.6+ and common frameworks like Flask and Django
  • Generates minimal false positives by using static analysis
  • Can be integrated into CI/CD pipelines for automated code quality checks
Use Cases:
  • Cleaning up legacy Python codebases before refactoring
  • Enforcing code quality in CI/CD pipelines
  • Identifying dead code in large projects with many contributors
Alternatives:
  • coverage.py – Measures test coverage rather than finding unused code
  • pylint – General-purpose linter that includes some dead code detection but less focused than Vulture
Version History
Detected Version Rev Change Commit
Oct 10, 2024 5:21pm 0 VERSION_BUMP b4694dc8
Oct 10, 2024 12:19pm 0 VERSION_BUMP ff93fd44
Oct 2, 2024 1:39pm 0 VERSION_BUMP a93cb5ec
Sep 18, 2024 1:06am 0 VERSION_BUMP e4de7c77