-
Notifications
You must be signed in to change notification settings - Fork 33
v1.0.0: FileNotFoundError: [Errno 2] No such file or directory
on Windows, Python 3.9
#194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
🤔 Looks like this is actual the error:
|
Ah... for line in stdout.split("\n"):
if not line:
continue
> path = Path(line.partition(":")[0]).resolve()
.tox\py\lib\site-packages\pytest_mypy\__init__.py:363:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = WindowsPath('\x1b[1m\x1b[92mSuccess'), strict = False Looks like we're taking the success line e.g. $ mypy demo/good.py
Success: no issues found in 1 source file (which is green) $ MYPY_FORCE_COLOR=1 venv/bin/mypy demo/good.py | cat -v
^[[1m^[[32mSuccess: no issues found in 1 source file^[(B^[[m and trying to Thanks for the report! I'll have a fix tomorrow. |
Fixed in v1.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This doesn't affect Python 3.13 or other OSes.
Other Python versions on Windows (3.10, 3.11, 3.12) untested.
Full logs:
The text was updated successfully, but these errors were encountered: