Skip to content

Conversation

@AlexWaygood
Copy link
Collaborator

@AlexWaygood AlexWaygood commented Apr 6, 2022

Closes #45 (a continuation of @hoefling's PR #184, which I accidentally closed).

@AlexWaygood
Copy link
Collaborator Author

AlexWaygood commented Apr 6, 2022

This check now has only 27 hits in typeshed, so I'd now be in favour of merging it. I don't have a strong opinion about whether we should switch the check off in typeshed's flake8 config for now, or add 27 # noqa comments.

@AlexWaygood
Copy link
Collaborator Author

AlexWaygood commented Apr 6, 2022

@hoefling, are you happy with the tweaks I made to the error messages in cb93b35?

@JelleZijlstra
Copy link
Collaborator

Thanks, I'd prefer to turn the new code off in typeshed for now; we can just rely on check_new_syntax.py and code review in the meantime.

AlexWaygood added a commit to python/typeshed that referenced this pull request Apr 6, 2022
@AlexWaygood
Copy link
Collaborator Author

Thanks, I'd prefer to turn the new code off in typeshed for now; we can just rely on check_new_syntax.py and code review in the meantime.

python/typeshed#7600

AlexWaygood added a commit to python/typeshed that referenced this pull request Apr 6, 2022
@AlexWaygood
Copy link
Collaborator Author

Aand we have a green CI!

@AlexWaygood AlexWaygood merged commit 8a4ba4d into PyCQA:master Apr 7, 2022
@AlexWaygood AlexWaygood deleted the unions branch April 7, 2022 21:09
@AlexWaygood
Copy link
Collaborator Author

Thanks for the PR @hoefling!

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.

Suggest using PEP 604-style union types

4 participants