Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

lsp

There are 2 major type language server protocol (LSP) tools for Python that are written in Rust:

  • ruff, which is also a formatter and a linter.
  • pyrefly, which is also a type checker

Note

LSP tools provide convenience when working on source code, things like jump to definition and code completion