Skip to content

Commit

Permalink
LSP - Use mypy for static type checking for python
Browse files Browse the repository at this point in the history
  • Loading branch information
at-github committed Jan 17, 2024
1 parent 3367c5d commit 85347d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/plugins/nvim-lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ lspconfig["pylsp"].setup({
-- formatter options
-- `:PylspInstall python-lsp-black` was needed
black = { enabled = true },
-- static typing check
pylsp_mypy = { enabled = true },
-- import sorting
-- `:PylspInstall pyls-isort` was needed
pyls_isort = { enabled = true },
Expand Down

0 comments on commit 85347d8

Please sign in to comment.