aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-registry/index/vulture
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2023-02-20 22:19:39 +0100
committerGitHub <noreply@github.com>2023-02-20 22:19:39 +0100
commitb8a6632a0f2d263199d5d480ca85477fe0f414ab (patch)
tree57e1ee0f3cef078ec144ecdf1b2fa861acf47755 /lua/mason-registry/index/vulture
parentchore: autogenerate (#1015) (diff)
downloadmason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.gz
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.bz2
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.lz
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.xz
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.tar.zst
mason-b8a6632a0f2d263199d5d480ca85477fe0f414ab.zip
feat: configurable registries (#1016)
Diffstat (limited to 'lua/mason-registry/index/vulture')
-rw-r--r--lua/mason-registry/index/vulture/init.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/mason-registry/index/vulture/init.lua b/lua/mason-registry/index/vulture/init.lua
new file mode 100644
index 00000000..d6098f5c
--- /dev/null
+++ b/lua/mason-registry/index/vulture/init.lua
@@ -0,0 +1,19 @@
+local Pkg = require "mason-core.package"
+local pip3 = require "mason-core.managers.pip3"
+local _ = require "mason-core.functional"
+
+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" } },
+}