close #439

and add scalastyle.

as this is boring devops stuff, I'm just self merging.