This is Devcontainer configuration to provide a consistent development environment for all contributors.
- Pre-configured Python environment
- Automatic installation of pre-commit hooks
- Ruff linter ready to check your code
- Oh My Zsh with plugins:
zsh-autosuggestionszsh-syntax-highlighting
-
Install Docker and Visual Studio Code
-
Install the Remote - Containers extension in VS Code
-
Do
CTRL+P, paste this command and pressEnterext install ms-vscode-remote.remote-containers
-
-
Open this repository in VS Code
-
When prompted, click "Reopen in Container"
-
Wait for the environment to build and initialize
After setup:
pre-commithooks are installedruffand other tools are available- The shell uses Zsh by default
To manually run checks on all files:
pre-commit run --all-filesFor further information here's Microsoft tutorial about devcontainers.