Lint tests

This commit is contained in:
Andras Schmelczer 2022-07-07 14:13:16 +02:00
parent 72ab627a34
commit a84f899a14
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,6 @@
{ {
"cSpell.words": [ "cSpell.words": [
"alru",
"Analyse", "Analyse",
"basereload", "basereload",
"boto", "boto",
@ -64,5 +65,10 @@
"**/*.cache": true "**/*.cache": true
}, },
"notebook.output.textLineLimit": 400, "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
} }

4
.vscode/tasks.json vendored
View file

@ -4,9 +4,9 @@
{ {
"label": "Format and lint", "label": "Format and lint",
"type": "shell", "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": { "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", "group": "test",
"presentation": { "presentation": {