Skip to content

Commit a74fbd8

Browse files
committed
Correct signature of inference
1 parent 578bfe9 commit a74fbd8

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
@@ -248,7 +248,7 @@ def _python_executable_from_version(python_version: Tuple[int, int]) -> str:
248248

249249
def infer_python_version_and_executable(options: Options,
250250
special_opts: argparse.Namespace
251-
) -> Options:
251+
):
252252
# Infer Python version and/or executable if one is not given
253253
if special_opts.python_executable is not None and special_opts.python_version is not None:
254254
py_exe_ver = _python_version_from_executable(special_opts.python_executable)

0 commit comments

Comments
 (0)