Skip to content

Commit 53a65f2

Browse files
committed
fix type check
1 parent 60ab748 commit 53a65f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ def set_strict_flags() -> None:
14581458

14591459
options.process_incomplete_features(error_callback=parser.error, warning_callback=print)
14601460

1461-
def _bad_error_code_flags(msg: str):
1461+
def _bad_error_code_flags(msg: str) -> None:
14621462
raise CompileError([msg])
14631463

14641464
# Processing error codes after plugins have loaded since plugins may

0 commit comments

Comments
 (0)