I recently found it's slick to add `dev/lint-scala` to git pre-commit hooks.
On Sun, May 17, 2020 at 9:22 AM Sean Owen <sro...@gmail.com> wrote: > You just follow the standard style guide - pretty much copy what you see - > and run scalastyle locally to fix any few issues that pop up. > > On Sat, May 16, 2020, 6:58 PM suddhu <sudhar...@gmail.com> wrote: > >> How do you format your code before sending the PR then? >> Do I not need to run scalafmt? >> >> >> >> -- >> Sent from: http://apache-spark-developers-list.1001551.n3.nabble.com/ >> >> --------------------------------------------------------------------- >> To unsubscribe e-mail: dev-unsubscr...@spark.apache.org >> >>