Streamline example

This commit is contained in:
Andras Schmelczer 2022-06-19 17:07:28 +02:00
parent c9d0cdb2df
commit 78ef39c9b6
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
13 changed files with 1255 additions and 524 deletions

8
.vscode/tasks.json vendored
View file

@ -4,9 +4,9 @@
{
"label": "Format and lint Python",
"type": "shell",
"command": "source .venv/bin/activate && scripts/format-python.sh great_ai && scripts/format-python.sh examples/simple",
"command": "source .env/bin/activate && scripts/format-python.sh great_ai && scripts/format-python.sh examples/simple",
"windows": {
"command": ".venv\\bin\\activate.bat; scripts\\format-python.sh great_ai; scripts\\format-python.sh examples\\simple"
"command": ".env\\bin\\activate.bat; scripts\\format-python.sh great_ai; scripts\\format-python.sh examples\\simple"
},
"group": "test",
"presentation": {
@ -20,9 +20,9 @@
{
"label": "Test Python",
"type": "shell",
"command": "source .venv/bin/activate && python3 -m pytest great_ai",
"command": "source .env/bin/activate && python3 -m pytest great_ai",
"windows": {
"command": ".venv\\bin\\activate.bat; python3 -m pytest great_ai"
"command": ".env\\bin\\activate.bat; python3 -m pytest great_ai"
},
"group": "test",
"presentation": {