|
1 | 1 | { |
2 | | - // Editor settings for Python |
3 | 2 | "[python]": { |
4 | | - "editor.formatOnSave": true, |
5 | | - "editor.defaultFormatter": "charliermarsh.ruff", |
6 | 3 | "editor.codeActionsOnSave": { |
7 | 4 | "source.fixAll": "explicit", |
8 | 5 | "source.organizeImports": "explicit" |
9 | 6 | }, |
10 | | - "editor.rulers": [100], |
| 7 | + "editor.defaultFormatter": "charliermarsh.ruff", |
| 8 | + "editor.formatOnSave": true, |
| 9 | + "editor.rulers": [ |
| 10 | + 100 |
| 11 | + ], |
11 | 12 | "files.trimTrailingWhitespace": true |
12 | 13 | }, |
13 | | - |
14 | | - // Editor settings for YAML |
15 | 14 | "[yaml]": { |
16 | | - "editor.insertSpaces": true, |
17 | | - "editor.formatOnSave": true, |
18 | | - "editor.defaultFormatter": "esbenp.prettier-vscode", |
19 | | - "editor.tabSize": 2, |
20 | 15 | "editor.autoIndent": "keep", |
21 | | - "gitlens.codeLens.scopes": ["document"], |
| 16 | + "editor.defaultFormatter": "esbenp.prettier-vscode", |
| 17 | + "editor.formatOnSave": true, |
| 18 | + "editor.insertSpaces": true, |
22 | 19 | "editor.quickSuggestions": { |
23 | | - "other": true, |
24 | 20 | "comments": false, |
| 21 | + "other": true, |
25 | 22 | "strings": true |
26 | | - } |
| 23 | + }, |
| 24 | + "editor.tabSize": 2, |
| 25 | + "gitlens.codeLens.scopes": [ |
| 26 | + "document" |
| 27 | + ] |
27 | 28 | }, |
28 | | - "python.testing.pytestEnabled": true, |
29 | | - "python.testing.autoTestDiscoverOnSaveEnabled": true, |
30 | | - "python.testing.pytestArgs": ["tests"], |
31 | | - "ruff.enable": true, |
32 | | - "python.analysis.typeCheckingMode": "basic", |
33 | | - "python.analysis.autoImportCompletions": true, |
34 | | - "python.testing.unittestEnabled": false, |
35 | 29 | "editor.defaultFormatter": "esbenp.prettier-vscode", |
36 | 30 | "editor.formatOnSave": true, |
37 | | - "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python" |
| 31 | + "python.analysis.autoImportCompletions": true, |
| 32 | + "python.analysis.typeCheckingMode": "basic", |
| 33 | + "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", |
| 34 | + "python.testing.autoTestDiscoverOnSaveEnabled": true, |
| 35 | + "python.testing.pytestArgs": [ |
| 36 | + "tests" |
| 37 | + ], |
| 38 | + "python.testing.pytestEnabled": true, |
| 39 | + "python.testing.unittestEnabled": false, |
| 40 | + "ruff.enable": true |
38 | 41 | } |
0 commit comments