Skip to content

Commit af86853

Browse files
Update errors.py: put the severity in the bag bro
1 parent 0cc5db3 commit af86853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class ErrorInfo:
8282
end_column = 0 # -1 if unknown
8383

8484
# A set string indicating the badness of the info
85-
severity: Severity = ""
85+
severity: Severity
8686

8787
# The error message.
8888
message = ""
@@ -123,7 +123,7 @@ def __init__(
123123
column: int,
124124
end_line: int,
125125
end_column: int,
126-
severity: str,
126+
severity: Severity,
127127
message: str,
128128
code: ErrorCode | None,
129129
blocker: bool,

0 commit comments

Comments
 (0)