Skip to content

Commit 6bc39d8

Browse files
authored
Merge pull request #90 from jmchilton/lint_fix
Fix a few lint issues.
2 parents b3f8a90 + c281e65 commit 6bc39d8

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

ephemeris/generate_tool_list_from_ga_workflow_files.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def translate_workflow_dictionary_to_tool_list(tool_dictionary, panel_label):
5858
tool_list = []
5959
for tool in starting_tool_list:
6060
sub_dic = {'name': tool['name'], 'owner': tool['owner'], 'revisions': [tool['changeset_revision']],
61-
'tool_panel_section_label': panel_label, 'tool_shed_url': 'https://'+tool['tool_shed']}
61+
'tool_panel_section_label': panel_label, 'tool_shed_url': 'https://' + tool['tool_shed']}
6262
tool_list.append(sub_dic)
6363
return tool_list
6464

@@ -75,10 +75,10 @@ def reduce_tool_list(tool_list):
7575
for tool in tool_list:
7676
if current_tool is tool:
7777
continue
78-
if (tool["name"] == current_tool['name']
79-
and tool['owner'] == current_tool['owner']
80-
and tool['tool_panel_section_label'] == current_tool['tool_panel_section_label']
81-
and tool['tool_shed_url'] == current_tool['tool_shed_url']):
78+
if (tool["name"] == current_tool['name'] and
79+
tool['owner'] == current_tool['owner'] and
80+
tool['tool_panel_section_label'] == current_tool['tool_panel_section_label'] and
81+
tool['tool_shed_url'] == current_tool['tool_shed_url']):
8282
current_tool["revisions"].extend(tool["revisions"])
8383
tool_list.remove(tool)
8484
current_tool['revisions'] = list(set(current_tool['revisions']))

ephemeris/shed_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def _parser():
303303
help="This installs tools in Galaxy from the Tool Shed."
304304
"Use shed-tools install --help for more information",
305305
parents=[common_arguments],
306-
)
306+
)
307307
install_command_parser.set_defaults(
308308
update_tools=False
309309
)

0 commit comments

Comments
 (0)