Skip to content

Commit bad24eb

Browse files
fix
1 parent 8a4e4bc commit bad24eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

exasol/toolbox/tools/lint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ def lint_issue_from_json(data: str) -> Iterable[LintIssue]:
4545
def lint_issue_to_markdown(lint_issues: Iterable[LintIssue]) -> str:
4646
def _header() -> str:
4747
header = "# Static Code Analysis\n\n"
48-
header += "|File|line/ column|id|message|\n"
48+
header += "|File|line/<br>column|id|message|\n"
4949
header += "|---|:-:|:-:|---|\n"
5050
return header
5151

5252
def _rows(issues: Iterable[LintIssue]) -> str:
5353
rows = ""
5454
for issue in issues:
5555
rows += f"|{issue.path}"
56-
rows += f"|line: {issue.line}/<br>column: {issue.column}/"
56+
rows += f"|line: {issue.line}/<br>column: {issue.column}"
5757
rows += f"|{issue.message_id}"
5858
rows += f"|{issue.message}|\n"
5959
return rows

test/unit/lint_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ def test_lint_issue_from_json(data):
6060
},
6161
"""# Static Code Analysis
6262
63-
|File|line<br>column|id|message|
63+
|File|line/<br>column|id|message|
6464
|---|:-:|:-:|---|
65-
|test_path|line: 0<br>column: 1|test_message_id|test_message|
65+
|test_path|line: 0/<br>column: 1|test_message_id|test_message|
6666
""",
6767
)
6868
],

0 commit comments

Comments
 (0)