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 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
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 wrote:
> How do you format your code before sending the PR then?
> Do I not need to run scalafmt?
>
>
>
> --
> Sent from:
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
We don't really use scalafmt, but there's a config and profile for it.
I am not sure if it will necessarily do the right thing in all cases.
You haven't shown the scalastyle failure, but if you've changed the
code, that's probably it. It is passing locally and on master.
On Sat, May 16, 2020 at 12