Skip to content

Commit b6d8294

Browse files
committed
Cleanup unused variable.
1 parent ea5324f commit b6d8294

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

planemo/tool_lint.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
def lint_tools_on_path(ctx, paths, lint_args, **kwds):
2727
assert_tools = kwds.get("assert_tools", True)
2828
recursive = kwds.get("recursive", False)
29-
valid_tools = 0
3029
exit_codes = []
3130
for (tool_path, tool_xml) in yield_tool_sources_on_paths(ctx, paths, recursive):
3231
if handle_tool_load_error(tool_path, tool_xml):
@@ -37,7 +36,6 @@ def lint_tools_on_path(ctx, paths, lint_args, **kwds):
3736
error("Failed linting")
3837
exit_codes.append(EXIT_CODE_GENERIC_FAILURE)
3938
else:
40-
valid_tools += 1
4139
exit_codes.append(EXIT_CODE_OK)
4240
return coalesce_return_codes(exit_codes, assert_at_least_one=assert_tools)
4341

0 commit comments

Comments
 (0)