Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis-Mittenzwei committed Dec 24, 2024
1 parent 8a4e4bc commit bad24eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions exasol/toolbox/tools/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ def lint_issue_from_json(data: str) -> Iterable[LintIssue]:
def lint_issue_to_markdown(lint_issues: Iterable[LintIssue]) -> str:
def _header() -> str:
header = "# Static Code Analysis\n\n"
header += "|File|line/ column|id|message|\n"
header += "|File|line/<br>column|id|message|\n"
header += "|---|:-:|:-:|---|\n"
return header

def _rows(issues: Iterable[LintIssue]) -> str:
rows = ""
for issue in issues:
rows += f"|{issue.path}"
rows += f"|line: {issue.line}/<br>column: {issue.column}/"
rows += f"|line: {issue.line}/<br>column: {issue.column}"
rows += f"|{issue.message_id}"
rows += f"|{issue.message}|\n"
return rows
Expand Down
4 changes: 2 additions & 2 deletions test/unit/lint_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ def test_lint_issue_from_json(data):
},
"""# Static Code Analysis
|File|line<br>column|id|message|
|File|line/<br>column|id|message|
|---|:-:|:-:|---|
|test_path|line: 0<br>column: 1|test_message_id|test_message|
|test_path|line: 0/<br>column: 1|test_message_id|test_message|
""",
)
],
Expand Down

0 comments on commit bad24eb

Please sign in to comment.