Skip to content

Commit

Permalink
Correct signature of inference
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatyping committed Mar 12, 2018
1 parent 578bfe9 commit 0fd2bf0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,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:
special_opts: argparse.Namespace):
# 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 0fd2bf0

Please sign in to comment.