diff --git a/.vscode/settings.json b/.vscode/settings.json index 55ec7b625aaaf5bd6da12cecefec64997b6121df..62de0da1ab2b7bd98b10bc5ec057a8e60d9f590f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -28,35 +28,36 @@ "./src" ], "editor.formatOnSave": true, + "python.formatting.provider": "black", "python.linting.enabled": true, + "python.linting.flake8Enabled": true, + "python.linting.mypyEnabled": true, "python.linting.pylintEnabled": true, "python.linting.pylintPath": ".venv/bin/pylint", "python.linting.pylintArgs": [ "--load-plugins", "pylint_pydantic" ], - "terminal.integrated.env.linux": { - "PYTHONPATH": "${workspaceFolder}" + "isort.check": true, + "isort.args": [ + "--profile", + "black" + ], + "python.testing.pytestEnabled": true, + "[python]": { + "editor.codeActionsOnSave": { + "source.organizeImports": true + }, + "editor.defaultFormatter": "ms-python.black-formatter" }, "search.exclude": { "**/dist": true, "**/.venv": true }, - "[python]": { - "editor.defaultFormatter": "ms-python.black-formatter" - }, - "python.formatting.provider": "black", "files.exclude": { "**/__pycache__": true, ".pytest_cache": true, ".mypy*": true, ".coverage": true, }, - "python.testing.pytestEnabled": true, - // "python.testing.pytestArgs": [ - // "--" - // ], - "python.analysis.extraPaths": [ - "./src" - ], } \ No newline at end of file