-
Notifications
You must be signed in to change notification settings - Fork 19
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
Class io.StringIO has abstract attributes. #720
Comments
Thanks for the report, I've tried to test with mypy before, but that reported too many errors then. If you can share your mypy setup / config then I'm happy to look into this, and add it to the test suite. I suspect that there is a conflict between the two copies of io.pyi, one of them in micropython-stdlib-stubs , but that is just a hunch |
I've got a local copy of typing checked into my repo that was installed with
I'm using My
and then tool / mypy settings are in
I'm explicitely excluding a few (typing) modules in the |
I've just updated to
micropython_stm32_stubs-1.20.0.post1
and getting some new mypy errors flagged inio.pyi
:Both StringIO and BytesIO have
typing.IO
as their base which have these abstract functions defined, but not expected to be present in StringIO and BytesIO.I know mypy usage isn't officially supported, but thought I'd share this as I didn't see it in the previous version.
The text was updated successfully, but these errors were encountered: