nvimtools / none-ls.nvim

null-ls.nvim reloaded / Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
The Unlicense
2.58k stars 83 forks source link

Add line ranges to black for python #31

Closed SamuilDichev closed 11 months ago

SamuilDichev commented 11 months ago

Issues

Feature description

Black has recently been updated to allow for line ranges instead of just whole files ( see their docs )

none-ls should implement passing the --line-ranges argument and also allow black to be called for range formatting (add range formatting to methods)

Help

Yes

Implementation help

No response

mochaaP commented 11 months ago

Closed by #32