2020-08-19 21:49:23 +00:00
|
|
|
{
|
2022-10-02 21:42:46 +00:00
|
|
|
"python.defaultInterpreterPath": "api/env/bin/python",
|
2022-04-27 21:37:33 +00:00
|
|
|
"python.languageServer": "Pylance",
|
2022-10-02 21:42:46 +00:00
|
|
|
"python.analysis.extraPaths": [
|
|
|
|
"api/tacticalrmm",
|
|
|
|
"api/env"
|
|
|
|
],
|
2022-04-27 21:37:33 +00:00
|
|
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
|
|
"reportUnusedImport": "error",
|
|
|
|
"reportDuplicateImport": "error",
|
|
|
|
"reportGeneralTypeIssues": "none"
|
|
|
|
},
|
|
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
|
|
"python.linting.enabled": true,
|
|
|
|
"python.linting.mypyEnabled": true,
|
|
|
|
"python.linting.mypyArgs": [
|
|
|
|
"--ignore-missing-imports",
|
|
|
|
"--follow-imports=silent",
|
|
|
|
"--show-column-numbers",
|
|
|
|
"--strict"
|
|
|
|
],
|
|
|
|
"python.linting.ignorePatterns": [
|
|
|
|
"**/site-packages/**/*.py",
|
|
|
|
".vscode/*.py",
|
|
|
|
"**env/**"
|
|
|
|
],
|
|
|
|
"python.formatting.provider": "black",
|
2022-10-02 21:42:46 +00:00
|
|
|
"mypy.targets": [
|
|
|
|
"api/tacticalrmm"
|
|
|
|
],
|
2022-04-27 21:37:33 +00:00
|
|
|
"mypy.runUsingActiveInterpreter": true,
|
|
|
|
"editor.bracketPairColorization.enabled": true,
|
|
|
|
"editor.guides.bracketPairs": true,
|
|
|
|
"editor.formatOnSave": true,
|
2022-07-27 07:31:54 +00:00
|
|
|
"files.associations": {
|
|
|
|
"**/ansible/**/*.yml": "ansible",
|
|
|
|
"**/docker/**/docker-compose*.yml": "dockercompose"
|
|
|
|
},
|
2022-04-27 21:37:33 +00:00
|
|
|
"files.watcherExclude": {
|
2020-08-19 21:49:23 +00:00
|
|
|
"files.watcherExclude": {
|
2022-04-27 21:37:33 +00:00
|
|
|
"**/.git/objects/**": true,
|
|
|
|
"**/.git/subtree-cache/**": true,
|
|
|
|
"**/node_modules/": true,
|
|
|
|
"/node_modules/**": true,
|
|
|
|
"**/env/": true,
|
|
|
|
"/env/**": true,
|
|
|
|
"**/__pycache__": true,
|
|
|
|
"/__pycache__/**": true,
|
|
|
|
"**/.cache": true,
|
|
|
|
"**/.eggs": true,
|
|
|
|
"**/.ipynb_checkpoints": true,
|
|
|
|
"**/.mypy_cache": true,
|
|
|
|
"**/.pytest_cache": true,
|
|
|
|
"**/*.egg-info": true,
|
|
|
|
"**/*.feather": true,
|
|
|
|
"**/*.parquet*": true,
|
|
|
|
"**/*.pyc": true,
|
|
|
|
"**/*.zip": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"go.useLanguageServer": true,
|
|
|
|
"[go]": {
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.organizeImports": false
|
2022-04-08 01:55:02 +00:00
|
|
|
},
|
2022-04-27 21:37:33 +00:00
|
|
|
"editor.snippetSuggestions": "none"
|
|
|
|
},
|
|
|
|
"[go.mod]": {
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.organizeImports": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"gopls": {
|
|
|
|
"usePlaceholders": true,
|
|
|
|
"completeUnimported": true,
|
|
|
|
"staticcheck": true
|
|
|
|
}
|
2022-10-02 21:42:46 +00:00
|
|
|
}
|