Skip to Content
Style GuidesPythonIDE Setup

IDE Setup

System Requirements:

VSCode

Install the latest  stable release of Visual Studio Code for your operating system.

Extensions

Always open the root project folder in VSCode to ensure all configurations are loaded correctly.

Required extension when working with Python.

ExtensionDescription
Python A Visual Studio Code extension with support for Python, includes Pyright Type Checking
Pylint A Visual Studio Code extension with support for the Pylint linter. This extension ships with pylint=3.3.4.
isort A Visual Studio Code extension to auto sort python imports
Black Formatter A Visual Code extension for document formatting using Black or Pyink

Extension configurations

Black and iSort require configuration changes to match our style. Add the following to your pyproject.toml config.

[tool.black] line-length = 120 [tool.isort] profile = "black" line_length = 120

Command Line

You can run Pylint from your command line. The advantage of doing that is that you will lint the whole project at once. To do that you need to install Pylint. Install Pylint using the following command

pip install pylint

or

poetry add -D pylint

Execute the following command to run Pylint on all files in the project.

pylint --recursive=y .\ --rcfile .\.pylintrc --ignore=.github,.venv,.vscode

Pylint docs 

Last updated on