nvim: Use uv for running python coverage
Still needs to be improved and less hardcoded but for now at least we use the tool that I use every day.
This commit is contained in:
parent
59223d1003
commit
cf9a25d1c6
1 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ return {
|
|||
},
|
||||
},
|
||||
-- TODO: needs to pick up poetry env for python,
|
||||
-- currently just hard-codes running through poetry
|
||||
-- currently just hard-codes running through uv
|
||||
{
|
||||
"andythigpen/nvim-coverage",
|
||||
dependencies = {
|
||||
|
|
@ -112,7 +112,7 @@ return {
|
|||
},
|
||||
config = function()
|
||||
require("coverage").setup({
|
||||
lang = { python = { coverage_command = "poetry run coverage json -q -o -" } },
|
||||
lang = { python = { coverage_command = "uv run coverage json -q -o -" } },
|
||||
})
|
||||
end,
|
||||
ft = { "python" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue