File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "name" : " fastapi-postgres-aca" ,
3+ "image" : " mcr.microsoft.com/devcontainers/python:3.11-bullseye" ,
4+ "features" : {
5+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {},
6+ "ghcr.io/azure/azure-dev/azd:latest" : {}
7+ },
8+ "customizations" : {
9+ "vscode" : {
10+ "extensions" : [
11+ " ms-python.python" ,
12+ " ms-python.vscode-pylance" ,
13+ " charliermarsh.ruff" ,
14+ " ms-azuretools.vscode-docker" ,
15+ " hashicorp.terraform"
16+ ],
17+ "settings" : {
18+ "python.defaultInterpreterPath" : " /usr/local/bin/python" ,
19+ "python.linting.enabled" : true ,
20+ "[python]" : {
21+ "editor.formatOnSave" : true
22+ },
23+ "python.formatting.provider" : " black"
24+ }
25+ }
26+ },
27+ "forwardPorts" : [
28+ 8000 ,
29+ 5432
30+ ],
31+ "postCreateCommand" : " pip install -r src/requirements-dev.txt" ,
32+ "remoteUser" : " vscode"
33+ }
Original file line number Diff line number Diff line change 1+ -r requirements.txt
2+ black
3+ ruff
4+ pre-commit
You can’t perform that action at this time.
0 commit comments