Skip to content

Commit a9f55c1

Browse files
authored
Don't set --python-version (#93)
1 parent a17efc7 commit a9f55c1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pytest_mypy_plugins/item.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,6 @@ def prepare_mypy_cmd_options(self, execution_path: Path) -> List[str]:
310310
if not self.disable_cache:
311311
mypy_cmd_options.extend(["--cache-dir", self.incremental_cache_dir])
312312

313-
python_version = ".".join([str(part) for part in sys.version_info[:2]])
314-
mypy_cmd_options.append(f"--python-version={python_version}")
315-
316313
# Merge `self.base_ini_fpath` and `self.additional_mypy_config`
317314
# into one file and copy to the typechecking folder:
318315
mypy_ini_config = ConfigParser()

0 commit comments

Comments
 (0)