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

Add missing attributes for docutils.io #8716

Merged
merged 4 commits into from Sep 11, 2022
Merged

Conversation

amyreese
Copy link
Contributor

@amyreese amyreese commented Sep 9, 2022

error_string and ErrorOutput were added in v0.19. Fills out some missing pieces of Input and FileInput as well.

@amyreese amyreese force-pushed the docutils-io branch 2 times, most recently from 044b563 to b9ad6ab Compare September 9, 2022 05:24
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

amyreese added a commit to phofl/sphinx-mdinclude that referenced this pull request Sep 9, 2022
amyreese added a commit to phofl/sphinx-mdinclude that referenced this pull request Sep 9, 2022
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! A few things to fix, see my comments below :)

stubs/docutils/docutils/io.pyi Outdated Show resolved Hide resolved
stubs/docutils/docutils/io.pyi Outdated Show resolved Hide resolved
stubs/docutils/docutils/io.pyi Outdated Show resolved Hide resolved
stubs/docutils/docutils/io.pyi Outdated Show resolved Hide resolved
stubs/docutils/docutils/io.pyi Outdated Show resolved Hide resolved
stubs/docutils/docutils/io.pyi Outdated Show resolved Hide resolved
stubs/docutils/docutils/io.pyi Outdated Show resolved Hide resolved
@github-actions

This comment has been minimized.

`error_string` and `ErrorOutput` were added in `v0.19`.
Fills out some missing pieces of `Input` and `FileInput` as well.
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@amyreese
Copy link
Contributor Author

@AlexWaygood Thank you for the pointers! All have been applied now.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @amyreese! I pushed two more additional fixes to this PR, everything looks good now 🎉

@AlexWaygood AlexWaygood merged commit b4d9105 into python:master Sep 11, 2022
@amyreese amyreese deleted the docutils-io branch October 10, 2022 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants