Skip to content

Commit 2b759dd

Browse files
authored
Merge pull request #50 from Alinvor/kernel
[DONE]合并分支
2 parents 7def3f4 + 6616bd1 commit 2b759dd

1 file changed

Lines changed: 87 additions & 0 deletions

File tree

.vscode/settings.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"[python]": {
3+
"editor.defaultFormatter": "ms-python.python"
4+
},
5+
"python.analysis.extraPaths": [
6+
"./src",
7+
"./mock",
8+
"./test",
9+
"./venv2/bin",
10+
"./venv2/Lib/python2.7/site-packages",
11+
"./venv/bin",
12+
"./venv/Lib/python3.7/site-packages",
13+
],
14+
"python.analysis.logLevel": "Trace",
15+
// "python.analysis.watchSearchPaths": true,
16+
"python.analysis.typeCheckingMode": "basic",
17+
// "python.analysis.typeCheckingMode": "strict",
18+
"python.analysis.diagnosticMode": "openFilesOnly",
19+
// https://github.com/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md
20+
"python.analysis.diagnosticSeverityOverrides": {},
21+
"python.analysis.useLibraryCodeForTypes": true,
22+
"python.analysis.autoImportCompletions": true,
23+
"python.autoComplete.addBrackets": true,
24+
"python.analysis.completeFunctionParens": true,
25+
// "python.autoComplete.addBrackets": false,
26+
// "python.analysis.completeFunctionParens": false,
27+
"python.autoComplete.extraPaths": [
28+
"./src",
29+
"./mock",
30+
"./tests",
31+
"./venv2/bin",
32+
"./venv2/Lib/python2.7/site-packages",
33+
"./venv/bin",
34+
"./venv/Lib/python3.7/site-packages",
35+
],
36+
// "python.autoUpdateLanguageServer": true,
37+
// "python.defaultInterpreterPath": "${workspaceFolder}/venv2/bin/python",
38+
// "python.defaultInterpreterPath": "venv2/bin/python",
39+
// "python.diagnostics.sourceMapsEnabled": true,
40+
"python.envFile": "${workspaceFolder}/.env",
41+
// "python.pythonPath": "${workspaceFolder}/venv2/bin/python",
42+
// "python.pythonPath": "venv2/bin/python",
43+
// "python.pythonPath": "venv2\\Scripts\\python.exe",
44+
"python.formatting.provider": "yapf",
45+
"python.formatting.yapfArgs": [
46+
"--style",
47+
"{based_on_style: pep8, indent_width: 4}"
48+
],
49+
// "python.formatting.yapfArgs": [
50+
// "--style", "{based_on_style: pep8 ,indent_width: 4, column_limit: 140}",
51+
// ],
52+
// "python.languageServer": "Jedi",
53+
"python.languageServer": "Pylance",
54+
// "python.languageServer": "Microsoft",
55+
// "python.logging.level": "info",
56+
"python.linting.enabled": true,
57+
"python.linting.flake8Enabled": true,
58+
"python.linting.flake8Args": [
59+
"--max-line-length=140",
60+
// "--ignore=E251",
61+
"--verbose",
62+
],
63+
"python.linting.ignorePatterns": [
64+
".vscode/*.py",
65+
"**/site-packages/**/*.py"
66+
],
67+
"python.linting.lintOnSave": true,
68+
"python.linting.pylintEnabled": false,
69+
// https://github.com/microsoft/vscode-python/discussions/15997#discussioncomment-636389
70+
// "python.testing.unittestArgs": [
71+
// "-v",
72+
// "-s",
73+
// "./tests",
74+
// "-p",
75+
// "test_*.py"
76+
// ],
77+
// "python.testing.autoTestDiscoverOnSaveEnabled": true,
78+
"python.testing.cwd": "${workspaceFolder}",
79+
"python.testing.nosetestsEnabled": false,
80+
"python.testing.pytestEnabled": false,
81+
"python.testing.promptToConfigure": false,
82+
"python.testing.unittestEnabled": true,
83+
// "workbench.settings.openDefaultSettings": true,
84+
// "workbench.settings.editor": "ui",
85+
// "workbench.settings.openDefaultKeybindings": true,
86+
// "workbench.settings.useSplitJSON": true,
87+
}

0 commit comments

Comments
 (0)