spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynold Xin <r...@databricks.com>
Subject Re: spark code formatter?
Date Thu, 09 Jan 2014 05:50:18 GMT
We have a Scala style configuration file in Shark:
https://github.com/amplab/shark/blob/master/scalastyle-config.xml

However, the scalastyle project is still pretty primitive and doesn't cover
most of the use cases. It is still great to include it to cover basic
checks such as 100-char wide lines.


On Wed, Jan 8, 2014 at 8:02 PM, Matei Zaharia <matei.zaharia@gmail.com>wrote:

> Not that I know of. This would be very useful to add, especially if we can
> make SBT automatically check the code style (or we can somehow plug this
> into Jenkins).
>
> Matei
>
> On Jan 8, 2014, at 11:00 AM, Michael Allman <msa@allman.ms> wrote:
>
> > Hi,
> >
> > I've read the spark code style guide for contributors here:
> >
> > https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide
> >
> > For scala code, do you have a scalariform configuration that you use to
> format your code to these specs?
> >
> > Cheers,
> >
> > Michael
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message