What tools do you use for code diagnostics in Python?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

    If you find Pylint and Mypy too slow to run when editing, you can make it so that they only run in a pre-commit hook (for example with https://pre-commit.com/) and in CI. That way, you can keep the fast experience when editing, but you can still make sure that no errors end up being committed and merged to the main branch.

  • python-lsp-server

    Fork of the python-language-server project, maintained by the Spyder IDE team and the community

    https://github.com/python-lsp/python-lsp-server with plugins below (isort/black are for formatting, but especially black is highly recommended):

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • pyls-flake8

    Python Language Server plugin for Flake8

  • pylsp-mypy

    Mypy plugin for the Python LSP Server.

  • pyls-isort

    Isort plugin for python-language-server

  • python-lsp-black

    python-lsp-server plugin that adds support to black autoformatter, forked from https://github.com/rupert/pyls-black/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts