tasks.json 745 B

12345678910111213141516171819202122232425262728
  1. {
  2. // VS Code tasks for common project actions
  3. "version": "2.0.0",
  4. "tasks": [
  5. {
  6. "label": "pytest",
  7. "type": "shell",
  8. "command": "${command:python.interpreterPath}",
  9. "args": ["-m", "pytest", "-q"],
  10. "group": "build",
  11. "problemMatcher": ["$python"]
  12. },
  13. {
  14. "label": "pylint:src",
  15. "type": "shell",
  16. "command": "${command:python.interpreterPath}",
  17. "args": ["-m", "pylint", "src/claudia", "--score=n", "--rcfile", "pylintrc"],
  18. "group": "build"
  19. },
  20. {
  21. "label": "pylint:tests",
  22. "type": "shell",
  23. "command": "${command:python.interpreterPath}",
  24. "args": ["-m", "pylint", "tests", "--score=n", "--rcfile", "pylintrc"],
  25. "group": "build"
  26. }
  27. ]
  28. }