Skip to content

Commit 6273cec

Browse files
Update errorcodes.py
1 parent 7e08096 commit 6273cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/errorcodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def __hash__(self) -> int:
322322
default_enabled=False,
323323
)
324324

325-
INDEX_RANGE = ErrorCode("index-range", "index out of statically known range", "Index Range", True)
325+
INDEX_RANGE: Final[ErrorCode] = ErrorCode("index-range", "index out of statically known range", "Index Range", True)
326326

327327
# This copy will not include any error codes defined later in the plugins.
328328
mypy_error_codes = error_codes.copy()

0 commit comments

Comments
 (0)