#python #search #cli #dead-code #rust

app undead

用于在您的 Python 项目中搜索死代码的工具

6 个版本

0.1.5 2024 年 7 月 15 日
0.1.4 2024 年 7 月 15 日

300并发

Download history 195/week @ 2024-07-12 17/week @ 2024-07-19

212 每月下载次数

Apache-2.0LGPL-3.0-only

21KB
476

Undead

用于在您的 Python 项目中搜索死代码的工具。

安装

使用 Cargo

$ cargo install undead

用法

$ undead . -I "tests"

文档

$ undead --help
A tool to search for dead code in your Python projects

Usage: undead [OPTIONS] [PATHS]...

Arguments:
  [PATHS]...  paths in which to recursively search for dead files

Options:
  -I, --ignore-paths <IGNORE_PATHS>  paths to ignore when searching for dead files
  -h, --help                         Print help
  -V, --version                      Print version

依赖项

~21–33MB
~599K SLoC