Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

use JuliaFormatter on the notebooks? #9

Open
dmbates opened this issue May 31, 2021 · 1 comment
Open

use JuliaFormatter on the notebooks? #9

dmbates opened this issue May 31, 2021 · 1 comment

Comments

@dmbates
Copy link
Contributor

dmbates commented May 31, 2021

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.

@kliegl
Copy link
Contributor

kliegl commented May 31, 2021

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants