36 lines
919 B
JSON
36 lines
919 B
JSON
{
|
|
"name": "Python 3",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": ".."
|
|
},
|
|
"mounts": [
|
|
"source=/data,target=/data,type=bind,consistency=cached",
|
|
],
|
|
"settings": {
|
|
"python.pythonPath": "/usr/local/bin/python",
|
|
"python.linting.pylintEnabled": false,
|
|
"python.linting.flake8Enabled": true,
|
|
"python.linting.flake8Args": [
|
|
"--ignore=E402",
|
|
"--max-line-length",
|
|
"4096"
|
|
],
|
|
"python.formatting.provider": "autopep8",
|
|
"python.formatting.autopep8Args": [
|
|
"--ignore",
|
|
"E402",
|
|
"--max-line-length",
|
|
"4096"
|
|
],
|
|
"[python]": {
|
|
"editor.formatOnSave": true
|
|
}
|
|
},
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance"
|
|
],
|
|
"postCreateCommand": "pip install -r requirements.txt",
|
|
}
|