Skip to content

Commit

Permalink
Don't fail linting on local tools
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Apr 11, 2024
1 parent 62cec5d commit 97003c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion planemo/workflow_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@ def find_repos_from_tool_id(tool_id: str, ts: ToolShedInstance) -> Tuple[str, Di
return ("", repos)


def assert_valid_tool_id_in_tool_shed(tool_id, ts: ToolShedInstance) -> Optional[str]:
def assert_valid_tool_id_in_tool_shed(tool_id: str, ts: ToolShedInstance) -> Optional[str]:
if "/repos" not in tool_id:
return None
warning_msg, repos = find_repos_from_tool_id(tool_id, ts)
if warning_msg:
return warning_msg
Expand Down

0 comments on commit 97003c8

Please sign in to comment.