Skip to content

Fix third_party errors with --disallow-any-generics#3278

Merged
JelleZijlstra merged 10 commits intopython:masterfrom
srittau:disallow-any-generic
Sep 30, 2019
Merged

Fix third_party errors with --disallow-any-generics#3278
JelleZijlstra merged 10 commits intopython:masterfrom
srittau:disallow-any-generic

Conversation

@srittau
Copy link
Collaborator

@srittau srittau commented Sep 29, 2019

Part of #3267. Together with #3276 this should fix all such problems.

I mostly used Any annotations. These can often be improved with more specific types.

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Thanks for doing all this! I'm concerned that some of the changes to IO-like classes can lead to new false positives (comments inline).

@srittau
Copy link
Collaborator Author

srittau commented Sep 30, 2019

@JelleZijlstra I think I changed everything that needed to be changed.

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.

2 participants