diff --git a/docker-compose.yml b/docker-compose.yml index 57c05746f..2a18ce1bb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,7 @@ services: volumes: - .:/app:delegated - node_modules:/app/node_modules/:delegated + - dockerpythonvenv:/app/dockerpythonvenv/:delegated depends_on: - backend diff --git a/pyrightconfig.json b/pyrightconfig.json new file mode 100644 index 000000000..f038e54d0 --- /dev/null +++ b/pyrightconfig.json @@ -0,0 +1,16 @@ +{ + "include": [ + "network-api/networkapi" + ], + "exclude": [ + "**/node_modules", + "**/__pycache__", + "**/migrations" + ], + "extraPaths": [ + "./dockerpythonvenv/lib/python3.9/site-packages/" + ], + "venvPath": "dockerpythonvenv", + "pythonVersion": "3.9", + "pythonPlatform": "Linux" +}