vulture(1)
π vulture(1) β the manual page, bestie edition π
okay so you opened the manual for vulture (that's section 1, the user commands section, iykyk) and honestly? you came to the right place. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
vulture β searches for unused ("dead") code in a Python program πͺ¦π
like... it goes looking for the code nobody's using. the leftovers. the ghost functions. the main character who never gets called. iconic behaviour fr fr.
β¨ SYNOPSIS β¨
vulture [options] <path>
that's it. that's the whole shape of it. you give it options, you give it a path, and it does its thing. π
β¨ DESCRIPTION β¨
Vulture scans for unused classes, functions and variables. yes, classes, functions AND variables. it's thorough like that. π
b u t β and this is the part where we get real β because of Python's dynamic nature, it's impossible to find all unused code with a static code analyzer. that's just the vibe of dynamic languages, bestie. no cap.
here's why, lowkey: the analyzer ignores scopes and scans only token names. so it's not out here doing deep detective work on your variable bindings β it's reading names off the page. πβ¨
and additionally β yes, there's an additional β some dynamic items that are not explicitly called in the code may be incorrectly reported. so sometimes it'll point at something and be like "dead code!!" and you'll be like "girl that's a decorator-registered thing" and it'll be like π§. it's doing its best. it's a heuristic. it's giving helpful-coworker-energy, not omniscient-god-energy. π
tl;dr β trust it, but verify it. false positives are a known vibe here, not a bug you found. π
β¨ OPTIONS β¨
-h,--helpβ the help flag π. you know her, you love her.--exclude=<exclude>β a comma-separated list of filename patterns to exclude, e.g.svn,external. commas, not spaces. commas, bestie, I'm begging π. stuff matching these patterns just doesn't get scanned.-v,--verboseβ the verbose flag β¨. more talking. more output. she has β¨thoughtsβ¨ and she's sharing them.
β¨ AUTHORS β¨
vulture was written by Jendrik Seipp <jendrikseipp@web.de> π«Ά β go say thank you, send them a nice email, that's the respectful move. π
and that's the page!! thanks for coming to my ted talk πΈ
vulture β version 2.16, dated 19 April 2026 β part of the vulture(1) manual, mwah π go find some dead code and set it free π¦β¨
π¦ where this page comes from
- ubuntu stonking: vulture 2.16-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms