57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "OSU Lazer API",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "devcontainer",
|
|
"shutdownAction": "stopCompose",
|
|
"workspaceFolder": "/workspaces/osu_lazer_api",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"detachhead.basedpyright",
|
|
"charliermarsh.ruff",
|
|
"ms-python.debugpy",
|
|
"ms-vscode.vscode-json",
|
|
"redhat.vscode-yaml",
|
|
"ms-vscode.docker"
|
|
],
|
|
"settings": {
|
|
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
|
"python.terminal.activateEnvironment": true,
|
|
"python.linting.enabled": true,
|
|
"python.linting.pylintEnabled": false,
|
|
"python.linting.flake8Enabled": false,
|
|
"python.formatting.provider": "none",
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit"
|
|
}
|
|
},
|
|
"ruff.enable": true,
|
|
"ruff.lint.enable": true,
|
|
"ruff.format.enable": true,
|
|
"ruff.importStrategy": "fromEnvironment",
|
|
"files.exclude": {
|
|
"**/__pycache__": true,
|
|
"**/*.pyc": true
|
|
},
|
|
"python.testing.pytestEnabled": true,
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.pytestArgs": [
|
|
"."
|
|
],
|
|
"terminal.integrated.defaultProfile.linux": "bash"
|
|
}
|
|
}
|
|
},
|
|
"features": {
|
|
"ghcr.io/va-h/devcontainers-features/uv:1": {}
|
|
},
|
|
"forwardPorts": [8000, 3306, 6379],
|
|
"postCreateCommand": "uv sync --dev && uv run pre-commit install",
|
|
"remoteUser": "vscode"
|
|
}
|