Skip to content

Commit 4e505df

Browse files
authored
Merge pull request #12 from PMSFIT/feature/new-location-types
Use new MessageLocation type for location reporting
2 parents 4ceaba1 + 3018877 commit 4e505df

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

qc_ositrace/checks/osirules/osirules_checker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ def register_issue(
115115
level=level,
116116
rule_uid=rule_uid,
117117
)
118-
result.add_file_location(
118+
result.add_message_location(
119119
checker_bundle_name=constants.BUNDLE_NAME,
120120
checker_id=osirules_constants.CHECKER_ID,
121121
issue_id=issue_id,
122-
row=index,
123-
column=0,
122+
index=index,
123+
time=time,
124124
description=f"Message {index} at {time_str}: {description}",
125125
)
126126

0 commit comments

Comments
 (0)