Skip to content

Commit

Permalink
Correct signature of inference
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanhs committed Mar 12, 2018
1 parent 578bfe9 commit a74fbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def _python_executable_from_version(python_version: Tuple[int, int]) -> str:

def infer_python_version_and_executable(options: Options,
special_opts: argparse.Namespace
) -> Options:
):
# Infer Python version and/or executable if one is not given
if special_opts.python_executable is not None and special_opts.python_version is not None:
py_exe_ver = _python_version_from_executable(special_opts.python_executable)
Expand Down

0 comments on commit a74fbd8

Please sign in to comment.