From 5866a3e39104f8e6fecec1c8d9a295e9c860606d Mon Sep 17 00:00:00 2001 From: Samuel Guillemet <samuel.guillemet@telecom-sudparis.eu> Date: Thu, 17 Aug 2023 11:59:32 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20vscode=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 62de0da..0b173e9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -24,17 +24,8 @@ "python.analysis.inlayHints.callArgumentNames": true, "python.analysis.inlayHints.variableTypes": true, "python.analysis.inlayHints.functionReturnTypes": true, - "python.autoComplete.extraPaths": [ - "./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": [ + "pylint.args": [ "--load-plugins", "pylint_pydantic" ], @@ -44,11 +35,19 @@ "black" ], "python.testing.pytestEnabled": true, + "python.testing.pytestArgs": [ + "tests", + "-vv", + "--cov=app", + "--cov-report=term-missing", + "--cov-report=html" + ], "[python]": { "editor.codeActionsOnSave": { "source.organizeImports": true }, - "editor.defaultFormatter": "ms-python.black-formatter" + "editor.defaultFormatter": "ms-python.black-formatter", + "editor.codeLens": true }, "search.exclude": { "**/dist": true, @@ -56,8 +55,13 @@ }, "files.exclude": { "**/__pycache__": true, - ".pytest_cache": true, - ".mypy*": true, - ".coverage": true, + "**/.pytest_cache": true, + "**/.mypy*": true, + "**/.coverage": true, + "**/.coverage.*": true, + "**/node_modules/": true, }, + "python.analysis.extraPaths": [ + "./src" + ], } \ No newline at end of file -- GitLab