diff --git a/.vscode/extensions.json b/.vscode/extensions.json index f5470601..5e1d573a 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,6 +3,7 @@ "charliermarsh.ruff", "ms-python.black-formatter", "ms-python.python", - "ms-python.vscode-pylance" + "ms-python.vscode-pylance", + "ms-python.mypy-type-checker" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 3114d412..6752166d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,19 +7,25 @@ "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll": true, "source.organizeImports": true }, - "editor.defaultFormatter": null }, "python.languageServer": "Pylance", - "python.testing.pytestArgs": ["-vvv", "python"], + "python.testing.pytestArgs": [ + "-vvv", + "python" + ], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, - "python.formatting.provider": "black", - "python.linting.mypyEnabled": true, - "python.linting.mypyArgs": ["--show-column-numbers", "--no-pretty"], - "ruff.args": ["--config=pyproject.toml"] + "mypy-type-checker.args": [ + "--show-column-numbers", + "--no-pretty" + ], + "ruff.args": [ + "--config=pyproject.toml" + ], }