From a84f899a14dcaed39dd3089d977aaafff623355e Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Thu, 7 Jul 2022 14:13:16 +0200 Subject: [PATCH] Lint tests --- .vscode/settings.json | 8 +++++++- .vscode/tasks.json | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f681bc4..02ae6aa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "cSpell.words": [ + "alru", "Analyse", "basereload", "boto", @@ -64,5 +65,10 @@ "**/*.cache": true }, "notebook.output.textLineLimit": 400, - "python.defaultInterpreterPath": ".env/bin/python" + "python.defaultInterpreterPath": ".env/bin/python", + "python.testing.pytestArgs": [ + "tests" + ], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9d3230f..f22140e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -4,9 +4,9 @@ { "label": "Format and lint", "type": "shell", - "command": "source .env/bin/activate && scripts/format-python.sh . tests", + "command": "source .env/bin/activate && scripts/format-python.sh great_ai tests", "windows": { - "command": ".env\\bin\\activate.bat; scripts\\format-python.sh . tests" + "command": ".env\\bin\\activate.bat; scripts\\format-python.sh great_ai tests" }, "group": "test", "presentation": {