Skip to content

Commit 0fd2bf0

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypy/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ def _python_executable_from_version(python_version: Tuple[int, int]) -> str:
247247

248248

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

0 commit comments

Comments
 (0)