11{
2- // oh-my-posh uses special font (CaskaydiaCove) to display icons in the console
3- "editor.fontFamily" : " Consolas, 'Courier New', monospace,'DejaVu Sans Mono for Powerline','CaskaydiaCove NF'" ,
2+ "editor.codeActionsOnSave" : {
3+ "source.organizeImports" : " explicit" ,
4+ "source.fixAll" : " explicit"
5+ },
46 "editor.detectIndentation" : false ,
7+ // "editor.formatOnSave": true, // avoid removing all blank lines in json-files
58 "editor.insertSpaces" : true ,
69 "editor.tabSize" : 4 ,
10+
711 "files.associations" : {
812 ".env" : " dotenv" ,
913 ".env.template" : " dotenv"
1014 },
11- "makefile.extensionOutputFolder" : " ./var/cache/vscode" ,
12- "[makefile]" : { // per-language config
13- "editor.insertSpaces" : false ,
15+ "files.exclude" : {
16+ "**/__pycache__" : true
17+ },
18+ "files.trimTrailingWhitespace" : true ,
19+
20+ "[json]" : {
21+ "editor.formatOnSave" : false
22+ },
23+
24+ // "jupyter.defaultKernel": "${workspaceFolder }/.venv/bin/python",
25+ // "jupyter.jupyterServerType": "local",
26+
27+ "mypy-type-checker.args" : [" --config-file" , " ${workspaceFolder}/pyproject.toml" ],
28+ "mypy-type-checker.cwd" : " ${workspaceFolder}/" ,
29+ "mypy-type-checker.importStrategy" : " fromEnvironment" ,
30+
31+ "[python]" : {
32+ "editor.defaultFormatter" : " charliermarsh.ruff" ,
33+ "editor.formatOnSave" : true
1434 },
15- "makefile.defaultLaunchConfiguration" : {},
16- "makefile.makefilePath" : " makefile" , // Makefile is default
17- "makefile.configurations" : [],
18- // https://code.visualstudio.com/docs/python/settings-reference
1935 "python.envFile" : " ${workspaceFolder}/.env" ,
2036 "python.defaultInterpreterPath" : " ${workspaceFolder}/.venv/bin/python" ,
21- "python.linting.enabled" : true ,
2237 "python.terminal.activateEnvironment" : true ,
2338 "python.testing.unittestEnabled" : false ,
2439 "python.testing.pytestEnabled" : true ,
2540 "python.testing.pytestArgs" : [
41+ " --color=yes" ,
2642 " --cov=src" ,
27- " --cov-report=xml" ,
28- " --cov-report=html" ,
29- " --pdb" ,
43+ // "--cov=httpclient_logging",
44+ // "--cov-fail-under=90",
45+ // "--cov-report xml:${workspaceFolder}/var/coverage/pytest-cobertura.xml",
46+ // "--cov-report html:${workspaceFolder}/var/coverage/html",
47+ // "--cov-report term-missing",
48+ // "--junit-xml=${workspaceFolder}/var/coverage/pytest-junit.xml",
49+ // "--pdb",
3050 " -v" ,
3151 " ${workspaceFolder}/tests/" ,
3252 ],
33- "yaml.customTags" : [
34- " !env"
35- ]
36- }
53+ "ruff.configuration" : " ${workspaceFolder}/pyproject.toml" ,
54+ // "ruff.lint.args": ["--extend-ignore=F401"],
55+ "ruff.nativeServer" : " on" ,
56+
57+ "[yaml]" : { // per-language config
58+ "editor.insertSpaces" : true ,
59+ "editor.tabSize" : 4 ,
60+ },
61+
62+ "vscode-just.runInTerminal" : true ,
63+ "vscode-just.useSingleTerminal" : true ,
64+ }
0 commit comments