Skip to content

Commit

Permalink
Create mypy vscode tasks for each python pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-5546 committed Oct 11, 2023
1 parent 9c026d7 commit 27bc60a
Showing 1 changed file with 42 additions and 3 deletions.
45 changes: 42 additions & 3 deletions .devcontainer/config/sailbot_workspace.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,50 @@
},
{
"label": "mypy",
"detail": "Run mypy on python files.",
"detail": "Run mypy on all Python packages.",
"dependsOn": [
"mypy boat_simulator",
"mypy controller",
"mypy local_pathfinding",
],
"problemMatcher": []
},
{
"label": "mypy boat_simulator",
"detail": "Run mypy on python files in boat_simulator.",
"type": "ament",
"task": "mypy",
"path": "src/",
"commandOptions": "--exclude=src/virtual_iridium,src/raye-local-pathfinding",
"path": "src/boat_simulator",
"problemMatcher": [
"$ament_mypy",
],
"presentation": {
"panel": "dedicated",
"reveal": "silent",
"clear": true
}
},
{
"label": "mypy controller",
"detail": "Run mypy on python files in controller.",
"type": "ament",
"task": "mypy",
"path": "src/controller",
"problemMatcher": [
"$ament_mypy",
],
"presentation": {
"panel": "dedicated",
"reveal": "silent",
"clear": true
}
},
{
"label": "mypy local_pathfinding",
"detail": "Run mypy on python files in local_pathfinding.",
"type": "ament",
"task": "mypy",
"path": "src/local_pathfinding",
"problemMatcher": [
"$ament_mypy",
],
Expand Down

0 comments on commit 27bc60a

Please sign in to comment.