30 lines
1.3 KiB
JSON
30 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
|
|
"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
|
|
}
|
|
}
|