Yikun opened a new pull request #35284: URL: https://github.com/apache/spark/pull/35284
### What changes were proposed in this pull request? Add a friendly error message for `black` version mismatched. ### Why are the changes needed? Before this patch: ```bash $ dev/reformat-python Oh no! 💥 💔 💥 The required version `21.12b0` does not match the running version `21.7b0`! ``` After this patch: ```bash $ dev/reformat-python The required version '21.12b0' does not match the running version '21.7b0', Please re-install Black, for example, via 'pip install black==21.12b0'. ``` ### Does this PR introduce _any_ user-facing change? NO, dev only ### How was this patch tested? Manually test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
