blob: f2a141abc72832f0ac43481cd44da29fcdfafa9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/facebook/usort",
description = "Safe, minimal import sorting for Python projects.",
},
command = "usort",
args = { "format", "-" },
stdin = true,
cwd = util.root_file({
"pyproject.toml",
}),
}
|