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

return Pkg.new {
    name = "blue",
    desc = _.dedent [[
        blue is a somewhat less uncompromising code formatter than black, the OG of Python formatters. We love the idea
        of automatically formatting Python code, for the same reasons that inspired black, however we take issue with
        some of the decisions black makes. Kudos to black for pioneering code formatting for Python, and for its
        excellent implementation.
    ]],
    homepage = "https://blue.readthedocs.io/en/latest/",
    languages = { Pkg.Lang.Python },
    categories = { Pkg.Cat.Formatter },
    install = pip3.packages { "blue", bin = { "blue" } },
}