Skip to content

Commit

Permalink
Fix lint tasks (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
hhenry01 authored Mar 16, 2024
1 parent 2424a11 commit 3df2864
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions sailbot.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
"label": "lint_cmake",
"detail": "Run lint on cmake files.",
"type": "shell",
"command": "LINTER=lint_cmake LOCAL_RUN=true .github/actions/ament-lint/run.sh",
"command": "LINTER=lint_cmake LOCAL_RUN=true .github/actions/run-in-container/ament-lint.sh",
"problemMatcher": [
"$ament_lint_cmake"
],
Expand All @@ -427,7 +427,7 @@
"label": "clang-tidy",
"detail": "Run clang-tidy static analysis",
"type": "shell",
"command": "LOCAL_RUN=true .github/actions/clang-tidy/run.sh",
"command": "LOCAL_RUN=true .github/actions/run-in-container/clang-tidy.sh",
"problemMatcher": [],
"presentation": {
"panel": "dedicated",
Expand All @@ -438,7 +438,7 @@
"label": "flake8",
"detail": "Run flake8 on python files.",
"type": "shell",
"command": "LINTER=flake8 LOCAL_RUN=true .github/actions/ament-lint/run.sh",
"command": "LINTER=flake8 LOCAL_RUN=true .github/actions/run-in-container/ament-lint.sh",
"problemMatcher": [
"$ament_flake8"
],
Expand All @@ -451,7 +451,7 @@
"label": "mypy",
"detail": "Run mypy on python files.",
"type": "shell",
"command": "LINTER=mypy LOCAL_RUN=true .github/actions/ament-lint/run.sh",
"command": "LINTER=mypy LOCAL_RUN=true .github/actions/run-in-container/ament-lint.sh",
"problemMatcher": [
"$ament_mypy",
],
Expand All @@ -464,7 +464,7 @@
"label": "xmllint",
"detail": "Run xmllint on xml files.",
"type": "shell",
"command": "LINTER=xmllint LOCAL_RUN=true .github/actions/ament-lint/run.sh",
"command": "LINTER=xmllint LOCAL_RUN=true .github/actions/run-in-container/ament-lint.sh",
"problemMatcher": [
"$ament_xmllint",
],
Expand Down
2 changes: 1 addition & 1 deletion src/network_systems/scripts/gen_ros_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
GEN_HDR_FILE_NODES_END = "}; // namespace ros_nodes\n"

GEN_PYTHON_FILE = os.path.join(NET_DIR, "launch/ros_info.py")
GEN_PYTHON_PREAMBLE = f"# {GEN_FILE_WARN}\n"
GEN_PYTHON_PREAMBLE = f"# {GEN_FILE_WARN} # noqa: E501\n"


def populate_hdr(hdr_file_obj, info_target):
Expand Down

0 comments on commit 3df2864

Please sign in to comment.