logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vulture - searches for unused ("dead") code in a Python program

Authors

vulture was written by Jendrik Seipp <jendrikseipp@web.de>

2.14                                            08 December 2024                                      vulture(1)

Description

       Vulture scans for unused classes, functions and variables.

       Due  to  Python's  dynamic  nature  it's  impossible to find all ununsed code for a static code analyzer,
       because it ignores scopes and scans only token names.  Additionally, some  dynamic  items  that  are  not
       explicitly called in the code may be incorrectly reported.

Name

vulture - searches for unused ("dead") code in a Python program

Options

-h, --help--exclude=<exclude>

             comma-separated list of filename patterns to exclude (e.g. svn,external)

       -v, --verbose

Synopsis

vulture [options] <path>

See Also