8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b499462 commit 0e7104eCopy full SHA for 0e7104e
pytest_mypy_plugins/item.py
@@ -391,5 +391,7 @@ def _collect_mypy_path(self, rootdir: Optional[Path]) -> None:
391
if mypy_path_key:
392
mypy_path_parts.append(maybe_to_abspath(mypy_path_key, rootdir))
393
mypy_path_parts.append(mypy_path_key)
394
+ if rootdir:
395
+ mypy_path_parts.append(str(rootdir))
396
397
self.environment_variables["MYPYPATH"] = ":".join(mypy_path_parts) 31BD code>
0 commit comments