Skip to content

Remove a hack for mypy<0.790#26102

Merged
stephenmcgruer merged 1 commit intomasterfrom
mypy-fix
Oct 14, 2020
Merged

Remove a hack for mypy<0.790#26102
stephenmcgruer merged 1 commit intomasterfrom
mypy-fix

Conversation

@Hexcles
Copy link
Member

@Hexcles Hexcles commented Oct 13, 2020

We have upgraded to mypy 0.790 in #26066.

@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-26102 October 13, 2020 19:58 Inactive
@Hexcles Hexcles force-pushed the mypy-fix branch 2 times, most recently from e86d3a3 to 81988a4 Compare October 13, 2020 21:14
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-26102 October 13, 2020 21:24 Inactive
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-26102 October 14, 2020 00:47 Inactive
We have upgraded to mypy 0.790 in #26066, which brings us
python/typeshed#4146.

Unfortunately, we still have to use io.open instead of the built-in open
because the "text mode" of open() in Python 2 doesn't really take text
(unicode).

Also made some drive-by stylistic changes.
@Hexcles
Copy link
Member Author

Hexcles commented Oct 14, 2020

@stephenmcgruer stephenmcgruer merged commit fdc3a46 into master Oct 14, 2020
@stephenmcgruer stephenmcgruer deleted the mypy-fix branch October 14, 2020 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants