-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Accept empty stdin (close #2337) #2346
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a bunch! The change itself looks good, and the command line result is completely fine without the newline. I left a small nitpick below, but feel free to ignore it!
Could you also write a change log entry? I think this is worth notifying users. |
Thanks for the fast turnaround, LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks a lot for the quick patch, it's well appreciated 🖤
fix #2337: Now Black does not fail for empty stdin file 👍