diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..ff33b5d --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,32 @@ +{ + "name": "Default Linux Universal", + "image": "mcr.microsoft.com/devcontainers/universal:2-linux", + "features": { + "ghcr.io/devcontainers-contrib/features/pdm:2": {} + }, + "postCreateCommand": "pdm config venv.in_project true && pdm venv create && pdm sync -G:all", + "customizations": { + "vscode": { + "settings": { + "python.analysis.diagnosticMode": "workspace", + "python.analysis.typeCheckingMode": "basic", + "files.exclude": { + "**/__pycache__": true + }, + "files.watcherExclude": { + "**/target/**": true, + "**/__pycache__": true + } + }, + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance", + "ms-python.isort", + "ms-python.black-formatter", + "usernamehw.errorlens", + "tamasfe.even-better-toml", + "wakatime.vscode-wakatime" + ] + } + } +} \ No newline at end of file