diff options
Diffstat (limited to 'lua/mason-registry/reorder-python-imports/init.lua')
| -rw-r--r-- | lua/mason-registry/reorder-python-imports/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/mason-registry/reorder-python-imports/init.lua b/lua/mason-registry/reorder-python-imports/init.lua new file mode 100644 index 00000000..6a267aad --- /dev/null +++ b/lua/mason-registry/reorder-python-imports/init.lua @@ -0,0 +1,11 @@ +local Pkg = require "mason-core.package" +local pip3 = require "mason-core.managers.pip3" + +return Pkg.new { + name = "reorder-python-imports", + desc = [[Tool for automatically reordering python imports. Similar to isort but uses static analysis more.]], + homepage = "https://github.com/asottile/reorder_python_imports", + languages = { Pkg.Lang.Python }, + categories = { Pkg.Cat.Formatter }, + install = pip3.packages { "reorder-python-imports", bin = { "reorder-python-imports" } }, +} |
