|
17 | 17 | "settings": { |
18 | 18 | "[python]": { |
19 | 19 | "editor.wordBasedSuggestions": false, |
20 | | - "editor.defaultFormatter": null, |
21 | | - "editor.formatOnPaste": true, |
22 | | - "editor.formatOnSave": true |
| 20 | + "editor.defaultFormatter": "ms-python.black-formatter", |
| 21 | + "editor.formatOnSave": true, |
| 22 | + "editor.codeActionsOnSave": { |
| 23 | + "source.organizeImports": true |
| 24 | + } |
23 | 25 | }, |
24 | | - // "python.defaultInterpreterPath": "/usr/local/bin/python", |
| 26 | + "isort.args": ["--profile", "black"], |
25 | 27 | "python.linting.enabled": true, |
26 | 28 | "python.linting.pylintEnabled": true, |
27 | 29 | "python.formatting.autopep8Path": "/usr/local/python/bin/autopep8", |
28 | | - "python.formatting.blackPath": "/usr/local/python/bin/black", |
| 30 | + // "python.formatting.blackPath": "/usr/local/python/bin/black", |
29 | 31 | "python.formatting.yapfPath": "/usr/local/python/bin/yapf", |
30 | | - "python.formatting.provider": "black", |
| 32 | + "python.formatting.provider": "none", |
31 | 33 | "python.linting.banditPath": "/usr/local/python/bin/bandit", |
32 | 34 | "python.linting.flake8Path": "/usr/local/python/bin/flake8", |
33 | 35 | "python.linting.mypyPath": "/usr/local/python/bin/mypy", |
34 | 36 | "python.linting.pycodestylePath": "/usr/local/python/bin/pycodestyle", |
35 | 37 | "python.linting.pydocstylePath": "/usr/local/python/bin/pydocstyle", |
36 | | - "python.linting.pylintPath": "/usr/local/python/bin/pylint", |
37 | | - "isort.path": [ |
38 | | - "/usr/local/python/bin/isort" |
39 | | - ] |
| 38 | + "python.linting.pylintPath": "/usr/local/python/bin/pylint" |
40 | 39 | }, |
41 | 40 | "extensions": [ |
42 | | - "ms-python.python", |
43 | | - "ms-python.isort" |
| 41 | + "ms-python.black-formatter", |
| 42 | + "ms-python.isort", |
| 43 | + "ms-python.python" |
44 | 44 | ] |
45 | 45 | // "devPort": {} |
46 | 46 | } |
|
0 commit comments