-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.example.json
52 lines (52 loc) · 1.5 KB
/
settings.example.json
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
{
"python.analysis.extraPaths": [
"./src"
],
"mypy-type-checker.importStrategy": "fromEnvironment",
"mypy-type-checker.args": [
"--config-file=pyproject.toml",
"--cache-dir=.vscode/.mypy_cache"
],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"editor.rulers": [
130
]
},
"[restructuredtext]": {
"editor.tabSize": 3,
"editor.rulers": [
150
]
},
"black-formatter.importStrategy": "fromEnvironment",
"black-formatter.args": [
"--config",
"pyproject.toml",
"--force-exclude",
"site-packages"
],
"isort.importStrategy": "fromEnvironment",
"isort.args": [
"--settings-file",
"pyproject.toml",
"--extend-skip-glob",
"*/site-packages/*"
],
"flake8.importStrategy": "fromEnvironment",
"python.analysis.diagnosticSeverityOverrides": {
"reportMissingImports": "error",
"reportAssertAlwaysTrue": "information",
"reportDuplicateImport": "warning",
"reportMissingModuleSource": "none",
"reportUnsupportedDunderAll": "warning",
"reportShadowedImports": "none"
},
"python.analysis.autoImportCompletions": true,
"css.format.spaceAroundSelectorSeparator": true
}