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
Sep 11, 2024 9:50pm 0 VERSION_BUMP ad649d1d
Jan 19, 2024 8:42pm 0 VERSION_BUMP 4025fc16
Jan 19, 2024 3:16pm 0 VERSION_BUMP f1d1c842
Nov 22, 2023 8:27pm 0 VERSION_BUMP 6777ff18
Oct 6, 2023 7:11pm 0 VERSION_BUMP 09f16ea0
Sep 21, 2023 5:55am 0 VERSION_BUMP 7cf054b6
Aug 21, 2023 9:50am 0 VERSION_BUMP 0ac5c0c1
Aug 10, 2023 8:36pm 0 VERSION_BUMP b3ceb845