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.
| Extension | Description |
|---|---|
| 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 = 120Command 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 pylintor
poetry add -D pylintExecute the following command to run Pylint on all files in the project.
pylint --recursive=y .\ --rcfile .\.pylintrc --ignore=.github,.venv,.vscodeLast updated on