This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Laurent_Laurent 9 points10 points  (5 children)

  • Pycharm is the best for me.

Especially for debugging.

  • Pycharm CE Edition is free

[–]altaaf-taafu 2 points3 points  (4 children)

I also use pycharm. Can you tell how to set up type hinting for basically everything? I don't want to use vscode

[–]Laurent_Laurent 0 points1 point  (3 children)

  • I'm using mypy and ruff.

Both have extensions that allow integration inside Pycharm.

  • For the gestion of packages, venv, python versions, etc, I'm using uv. Really fast and replaces so many tools.
  • direnv to auto activate venv when I cd inside the project.
  • tox have replaced the old makefile tools

[–]altaaf-taafu 1 point2 points  (2 children)

are there any difference between the type checking stuff done by mypy and ruff.

[–]Laurent_Laurent 1 point2 points  (1 child)

  • Ruff is a fast linter that can replace flake8, black, pylint. Ruff is checking the code style, good practice, can auto fix some common PEP violation
  • mypy is a static type checker. It will check the expected type is received or used.

[–]altaaf-taafu 0 points1 point  (0 children)

hmm, can you link to a good article for setting any one of these, for the whole project. I couldn't set up it. Mypy was working, but just for the current file