Skip to content
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

mypy.api.run causes an EncodingWarning #14603

Open
dmtucker opened this issue Feb 4, 2023 · 0 comments · May be fixed by #14676
Open

mypy.api.run causes an EncodingWarning #14603

dmtucker opened this issue Feb 4, 2023 · 0 comments · May be fixed by #14676
Labels
bug mypy got something wrong

Comments

@dmtucker
Copy link
Contributor

dmtucker commented Feb 4, 2023

import mypy.api

mypy.api.run([__file__])
$ PYTHONWARNDEFAULTENCODING=1 venv/bin/python sscce.py 
/tmp/tmp.H5cwz0dU9s/sscce.py:3: EncodingWarning: 'encoding' argument not specified
  mypy.api.run([__file__])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant