Skip to content

Commit

Permalink
Merge pull request #16465 from mvdbeek/ruff_fix
Browse files Browse the repository at this point in the history
[23.1] Fix error_reports linting
  • Loading branch information
mvdbeek authored Jul 26, 2023
2 parents 2900691 + 0249a2c commit baa7b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/galaxy/tools/error_reports/plugins/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ def submit_report(self, dataset, job, tool, **kwargs):
else:
self._append_issue(issue_cache_key, error_title, error_message)
return (
"Submitted error report to GitHub. Your issue number is [#%s](%s/%s/issues/%s)"
% (
"Submitted error report to GitHub. Your issue number is [#{}]({}/{}/issues/{})".format(
self.issue_cache[issue_cache_key][error_title].number,
self.github_base_url,
github_projecturl,
Expand Down
3 changes: 1 addition & 2 deletions lib/galaxy/tools/error_reports/plugins/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ def submit_report(self, dataset, job, tool, **kwargs):
)

return (
"Submitted error report to GitLab. Your Issue number is [#%s](%s/%s/issues/%s)"
% (
"Submitted error report to GitLab. Your Issue number is [#{}]({}/{}/issues/{})".format(
self.issue_cache[issue_cache_key][error_title],
self.gitlab_base_url,
gitlab_projecturl,
Expand Down

0 comments on commit baa7b66

Please sign in to comment.