python typing check

Posted on Aug 1, 2024
  • Docstring Linter
  • pydocstyle
  • Style Linter
  • pylint
  • pycodestyle
  • Error Linter:
  • pyflake
  • pylint
  • Complexity Analysis
  • mccabe
  • flake8
  • flake8 = Pyflakes + pycodestyle + mccabe
  • type checker:
  • mypy
  • run it on command line
  • run it with language server, for example: pylsp
  • run it with Jupyter
  • nb-mypy: configure it with ipython configuration or run it with command in jupyter
  • jupyter-lsp + pylsp
  • Language server
  • pyls and pylsp
  • prefer to use pylsp instead of pyls, seelink for detail.
  • difference between different linter tools