forked from dagster-io/dagster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json.default
62 lines (57 loc) · 1.87 KB
/
settings.json.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
/// Autofix violations on-save.
// https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff
// Set this to be the path to your ruff executable, e.g.
//
// ```bash
// which ruff
// ```
//
"ruff.path": [],
// Set this to be the path to your python interpreter, e.g.
//
// ```bash
// pyenv which python
// ```
//
"ruff.interpreter": [],
// Format code on-save.
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit"
}
},
/// Configure linting.
// https://code.visualstudio.com/docs/python/linting#_general-linting-settings
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.pylintEnabled": false,
"python.linting.mypyEnabled": true,
/// Configure code analysis.
// https://code.visualstudio.com/docs/python/settings-reference#_code-analysis-settings
"python.languageServer": "Pylance",
"python.analysis.indexing": true,
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true,
"python.analysis.completeFunctionParens": true,
"python.analysis.inlayHints.variableTypes": true,
"python.analysis.inlayHints.functionReturnTypes": false,
/// Configuration for front-end.
// https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
"[javascript][typescript][typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports.eslint": "explicit",
"source.removeUnusedImports": "explicit"
}
},
"[json][jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
}