change python formatter to black
All checks were successful
Build neovim image / build-neovim-arm64 (push) Successful in 17m55s
Build neovim image / build-neovim-amd64 (push) Successful in 20m29s
Build neovim image / update-images-manifest (push) Successful in 21s

This commit is contained in:
Maciej Lebiest 2024-07-27 17:55:59 +02:00
parent a883718e97
commit f3a51a73bd

View file

@ -61,6 +61,9 @@ return {
eager = true, eager = true,
}, },
black = {
enabled = true
},
jedi_hover = { enabled = true }, jedi_hover = { enabled = true },
jedi_references = { enabled = true }, jedi_references = { enabled = true },
jedi_signature_help = { enabled = true }, jedi_signature_help = { enabled = true },
@ -80,12 +83,12 @@ return {
} }
}, },
yapf = { yapf = {
enabled = true enabled = false
}, },
autopep8 = { autopep8 = {
enabled = false enabled = false
}, },
pyflakes = { enabled = true }, -- ruff_lsp pyflakes = { enabled = true }, -- ruff_lsp
pycodestyle = { enabled = false }, -- ruff_lsp pycodestyle = { enabled = false }, -- ruff_lsp
pydocstyle = { pydocstyle = {
enabled = true, enabled = true,
@ -104,8 +107,8 @@ return {
} }
} }
--require 'lspconfig'.ruff_lsp.setup { --require 'lspconfig'.ruff_lsp.setup {
--on_attach = on_attach, --on_attach = on_attach,
--capabilities = capabilities, --capabilities = capabilities,
--} --}
require 'lspconfig'.pyright.setup { require 'lspconfig'.pyright.setup {
on_attach = on_attach, on_attach = on_attach,
@ -135,22 +138,22 @@ return {
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
} }
require'lspconfig'.perlpls.setup{ require 'lspconfig'.perlpls.setup {
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
} }
--require 'lspconfig'.perlnavigator.setup { --require 'lspconfig'.perlnavigator.setup {
--settings = { --settings = {
--perlnavigator = { --perlnavigator = {
--perlPath = 'perl', --perlPath = 'perl',
--enableWarnings = true, --enableWarnings = true,
--perltidyProfile = '', --perltidyProfile = '',
--perlcriticProfile = '', --perlcriticProfile = '',
--perlcriticEnabled = true, --perlcriticEnabled = true,
--} --}
--}, --},
--on_attach = on_attach, --on_attach = on_attach,
--capabilities = capabilities, --capabilities = capabilities,
--} --}
require 'lspconfig'.cssls.setup { require 'lspconfig'.cssls.setup {