itholic opened a new pull request #32779:
URL: https://github.com/apache/spark/pull/32779


   ### What changes were proposed in this pull request?
   
   This PR proposes applying `black` to pandas API on Spark codes, for 
improving static analysis.
   
   By executing the `./dev/reformat` in the spark home directory, all the code 
of the pandas API on Spark is fixed according to the static analysis rules.
   
   ### Why are the changes needed?
   
   Significantly reduces the cost of static analysis during development.
   
   It has been used continuously for about a year in the Koalas project and its 
convenience has been proven.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, it's dev-only.
   
   ### How was this patch tested?
   
   Manually reformat the pandas API on Spark codes by running the 
`./dev/reformat`, and checked the `./dev/lint-python` is passed.
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to