diff --git a/.config/kak/autoload/filetype.kak b/.config/kak/autoload/filetype.kak index 432589fb..40f3a699 100644 --- a/.config/kak/autoload/filetype.kak +++ b/.config/kak/autoload/filetype.kak @@ -2,8 +2,8 @@ hook global WinSetOption filetype=python %{ # set-option window expandtab true # set-option window softtabstop 4 set-option window formatcmd %{ - ruff check --select I --fix --stdin-filename $kak_buffile - 2>/dev/null | - ruff format --line-length 74 - + uv run ruff check --select I --fix --stdin-filename $kak_buffile - 2>/dev/null | + uv run ruff format --line-length 74 - } hook -group python-auto-format window BufWritePre .* %{ try format