3 ruff: Linter and Formatter
Ruff is a fast Python linter (static code analyzer) and code formatter that helps you maintain code quality and consistency in your Python projects. It can automatically detect and fix various code issues, making it easier to adhere to coding standards.
You can install ruff as a Python package and use it as a command line tool. However, since we recommend using VSCode for Python development, you can simply install the Ruff extension for VSCode to integrate Ruff directly into your coding environment.
You can configure Ruff by editing the pyproject.toml file in the root directory of your project. See Configuring Ruff from the Ruff official documentation. However, in most cases, the default settings should work well for general Python projects.