I want to use $MYPY_CONFIG_FILE_DIR because I don't rely on MYPYPATH environment.
However, pytest-mypy-plugins breaks this variable because the directory of .ini will be changed even when --mypy-same-process is activated.
(See
|
temp_dir = tempfile.TemporaryDirectory(prefix="pytest-mypy-", dir=self.root_directory) |
)
I would appreciate it if you could parse ini before changing the directory or do you have any suggestion to refer to the path of my repository?
I want to use $MYPY_CONFIG_FILE_DIR because I don't rely on MYPYPATH environment.
However, pytest-mypy-plugins breaks this variable because the directory of .ini will be changed even when --mypy-same-process is activated.
(See
pytest-mypy-plugins/pytest_mypy_plugins/item.py
Line 390 in 962e6db
I would appreciate it if you could parse ini before changing the directory or do you have any suggestion to refer to the path of my repository?