/pydead

Utility for searching of unused code in python projects

Primary LanguagePython

PyDead

Utility for searching of unused code in python projects, such as module’s global classes, functions and names.

Release Python Versions Travis Build Coverage Status Codacy Badge

Installation

pip install pydead

Usage

Usage: pydead [OPTIONS]

Options:
  -d, --directory TEXT  Directory of your project.
  -e, --exclude TEXT    Exclude files and directories by the given pattern.
                        Unix filename pattern matching used.
  --help                Show this message and exit.

Examples

Search in current directory

$ pydead

Search in specific directory

$ pydead -d directory

Exclude files and directories

$ pydead -e '*settings*' -e 'script_*.py'