What is your recommended linting setup for a Py3.10 project?

  • I like Black and Pylance, which is backed up pyright. Pylance and VS Code for dev time analysis (even though it has a few annoying issues like auto-importing the wrong paths) and pyright for "build" and test time analysis.

    I set black to a longer line length like 100 or 110 depending on who I'm working with. Black makes sure everything has consistent formatting.