Lint tests
This commit is contained in:
parent
72ab627a34
commit
a84f899a14
2 changed files with 9 additions and 3 deletions
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
|
|
@ -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
4
.vscode/tasks.json
vendored
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue