Skip to content

Commit 4615e33

Browse files
committed
fix: typing issue with diagnostics_json
1 parent 08de333 commit 4615e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fortls/json_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def range_json(sln: int, sch: int, eln: int = None, ech: int = None):
1010
}
1111

1212

13-
def diagnostic_json(sln: int, sch: int, eln: int, ech: int, msg: str, sev: str):
13+
def diagnostic_json(sln: int, sch: int, eln: int, ech: int, msg: str, sev: int):
1414
return {**range_json(sln, sch, eln, ech), "message": msg, "severity": sev}
1515

1616

0 commit comments

Comments
 (0)