Shape-as-Point/.vscode/settings.json
Laurent FAINSIN 79c35e453a 🧑‍💻 add .vscode settings.json
2023-05-26 14:54:28 +02:00

49 lines
1.3 KiB
JSON

{
"python.defaultInterpreterPath": "/local_scratch/lfainsin/.conda/envs/pyg/bin/python", // required for python ide tools
"python.terminal.activateEnvironment": false, // or else terminal gets bugged
// good pratice settings
"editor.formatOnSave": true,
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.mypyEnabled": true,
"files.insertFinalNewline": true,
"python.analysis.typeCheckingMode": "basic", // get ready to be annoyed
"python.formatting.provider": "black",
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true // isort
}
},
"files.exclude": {
// defaults
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
// annoying
"**/__pycache__": true,
"**/.mypy_cache": true,
"**/.ruff_cache": true,
"**/*.tmp": true,
},
"terminal.integrated.profiles.linux": {
"python": {
"path": "bash",
"icon": "rocket",
"env": {
"CONDAENV": "pyg",
},
"args": [
"-c",
"source ~/.bashrc && conda_init && conda activate $CONDAENV && export PS1='($CONDAENV)[\\u@\\h \\W]\\$ ' && bash"
],
}
},
"terminal.integrated.env.linux": {
"PYTHONPATH": "${workspaceFolder}/src/",
"SLURM_JOB_ID": null,
}
}