SMLP2021 icon indicating copy to clipboard operation
SMLP2021 copied to clipboard

use JuliaFormatter on the notebooks?

Open dmbates opened this issue 4 years ago • 1 comments

I recently saw some discussion of the JuliaFormatter package and how effective it can be in providing a consistent style. Invenia, the company that developed this for their internal use, provides a style called BlueStyle which works fine from my point of view.

I don't have strong opinions on the details of a style as long as it is applied consistently.

So I would propose running the two lines

using JuliaFormatter
format(".", BlueStyle())

before a commit.

dmbates avatar May 31 '21 15:05 dmbates

Fine with me. I did not try it yet, but it looks like it formats all files in a directory at once. That means it does not mess with Pluto notebook format?

kliegl avatar May 31 '21 16:05 kliegl