aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/vulture/init.lua
blob: f19ed12895cb23465ec9889147db78271c1beb0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local Pkg = require "mason-core.package"
local _ = require "mason-core.functional"
local pip3 = require "mason-core.managers.pip3"

return Pkg.new {
    name = "vulture",
    desc = _.dedent [[
       Vulture finds unused code in Python programs. This is useful for cleaning up and finding errors in large code
       bases. If you run Vulture on both your library and test suite you can find untested code.

       Due to Python's dynamic nature, static code analyzers like Vulture are likely to miss some dead code. Also, code
       that is only called implicitly may be reported as unused. Nonetheless, Vulture can be a very helpful tool for
       higher code quality.
    ]],
    homepage = "https://github.com/jendrikseipp/vulture",
    languages = { Pkg.Lang.Python },
    categories = { Pkg.Cat.Linter },
    install = pip3.packages { "vulture", bin = { "vulture" } },
}