|
1 | 1 | { |
2 | | - "python.formatting.provider": "black", |
3 | | - "python.languageServer": "Pylance", |
4 | 2 | "editor.formatOnSave": true, |
5 | | - "python.testing.unittestEnabled": false, |
6 | | - "python.testing.pytestEnabled": true, |
7 | 3 | "editor.formatOnType": true, |
8 | 4 | "editor.formatOnPaste": true, |
9 | 5 | "editor.renderControlCharacters": true, |
10 | 6 | "editor.suggest.localityBonus": true, |
11 | 7 | "files.insertFinalNewline": true, |
12 | 8 | "files.trimFinalNewlines": true, |
13 | | - "[json]": { |
14 | | - "editor.defaultFormatter": "esbenp.prettier-vscode" |
15 | | - }, |
16 | | - "[jsonc]": { |
17 | | - "editor.defaultFormatter": "esbenp.prettier-vscode" |
18 | | - }, |
19 | 9 | "[python]": { |
20 | | - "editor.defaultFormatter": "ms-python.python", |
| 10 | + "editor.formatOnSave": true, |
21 | 11 | "editor.codeActionsOnSave": { |
| 12 | + "source.fixAll": true, |
22 | 13 | "source.organizeImports": true |
23 | | - } |
| 14 | + }, |
| 15 | + "editor.defaultFormatter": null |
24 | 16 | }, |
| 17 | + "python.languageServer": "Pylance", |
| 18 | + "python.testing.pytestArgs": ["-vvv", "python"], |
| 19 | + "python.testing.unittestEnabled": false, |
| 20 | + "python.testing.pytestEnabled": true, |
| 21 | + "python.formatting.provider": "black", |
25 | 22 | "python.linting.mypyEnabled": true, |
26 | | - "python.linting.mypyArgs": ["--show-column-numbers", "--no-pretty"] |
| 23 | + "python.linting.mypyArgs": ["--show-column-numbers", "--no-pretty"], |
| 24 | + "ruff.args": ["--config=pyproject.toml"] |
27 | 25 | } |
0 commit comments