|
1 | 1 | {
|
2 | 2 | "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
3 |
| - "python.linting.enabled": true, |
4 |
| - |
5 | 3 | "[python]": {
|
| 4 | + "editor.defaultFormatter": "charliermarsh.ruff", |
6 | 5 | "editor.formatOnSave": true,
|
7 | 6 | "editor.insertSpaces": true,
|
8 | 7 | "editor.tabSize": 4,
|
9 | 8 | "editor.codeActionsOnSave": {
|
10 |
| - "python.sortImports": "explicit", |
11 |
| - "source.organizeImports": "explicit", |
12 |
| - "source.fixAll": "always" |
| 9 | + "python.sortImports": "always", |
| 10 | + "source.organizeImports": "always", |
| 11 | + "source.fixAll": "always", |
| 12 | + "source.fixAll.ruff": "always", |
| 13 | + "source.organizeImports.ruff": "always", |
| 14 | + "source.unusedImports": "always" |
13 | 15 | }
|
14 | 16 | },
|
15 | 17 | "python.testing.pytestArgs": ["solutions"],
|
16 | 18 | "python.testing.unittestEnabled": false,
|
17 |
| - "python.testing.pytestEnabled": true, |
18 |
| - "ruff.lint.select": ["F401"] |
| 19 | + "python.testing.pytestEnabled": true |
19 | 20 | }
|
0 commit comments