gtn/.vscode/tasks.json
Tipragot 628be439b8 Ajout d'un environement de développement.
Cela permet de ne pas avoir de problèmes de compatibilité
car python est dans le git.
2023-10-26 15:33:03 +02:00

33 lines
750 B
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Python: MyPy",
"type": "shell",
"command": ".venv/Scripts/python.exe",
"args": [
"-m",
"mypy",
"src"
]
},
{
"label": "Python: Pylint",
"type": "shell",
"command": ".venv/Scripts/python.exe",
"args": [
"-m",
"pylint",
"src/**/*.py"
]
},
{
"label": "Python: Check",
"dependsOrder": "sequence",
"dependsOn": [
"Python: MyPy",
"Python: Pylint",
]
},
]
}