PVD/.vscode/settings.json
2023-04-13 10:00:03 +02:00

39 lines
1.5 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
"python.analysis.typeCheckingMode": "basic", // get ready to be annoyed
"python.formatting.provider": "black", // opinionated, fuck off
"editor.formatOnSave": true, // not based if set to false
"python.linting.enabled": true, // not based if set to false
"python.linting.lintOnSave": true, // not based if set to false
"python.linting.flake8Enabled": false, // in case you want to use flake8 instead of ruff
"python.linting.mypyEnabled": true, // who though dynamic typing was a good idea ?
"python.linting.banditEnabled": true, // just in case
"jupyter.debugJustMyCode": false, // may be useful to set to true !
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true // isort
}
},
"files.insertFinalNewline": true,
"files.exclude": {
"**/.git": true, // defaults
"**/.svn": true, // defaults
"**/.hg": true, // defaults
"**/CVS": true, // defaults
"**/.DS_Store": true, // defaults
"**/Thumbs.db": true, // defaults
"**/__pycache__": true, // annoying
"**/.mypy_cache": true, // annoying
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/.hg/store/**": true,
"**/output/**": true,
"**/ShapeNetCore.v2.PC15k/**": true,
"**/.ruff_cache/**": true,
}
}