Skip to content

Fix missing space after "not" in reveal_type() output - #6346

Merged
Eric Traut (erictraut) merged 1 commit into
microsoft:mainfrom
JelleZijlstra:notspace
Nov 6, 2023
Merged

Eric Traut (erictraut) merged 1 commit into
microsoft:mainfrom
JelleZijlstra:notspace

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Contributor

Fixes #6345

@erictraut

Copy link
Copy Markdown
Collaborator

Thanks for the contribution, but I'm going to fix it in a different way.

@erictraut

Copy link
Copy Markdown
Collaborator

Ah, I now see why you did it this way. The other unary operators don't require a space. Reopening PR.

@JelleZijlstra

Copy link
Copy Markdown
Contributor Author

Yes, the other unary ops are all punctuation and should not have a space between the operator and the operand.

@erictraut
Eric Traut (erictraut) merged commit 0617fb8 into microsoft:main Nov 6, 2023
@github-actions

github-actions Bot commented Nov 6, 2023

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

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.

Missing space in reveal_type() output for "not"

2 participants