JeffersonLab / jlab_datascience_exp_hall

MIT License
0 stars 1 forks source link

Reformat code using black #8

Closed sgoldenCS closed 1 month ago

sgoldenCS commented 1 month ago

In order to have a uniform coding style, I suggest we run black on everything. It works well, is pretty fast, seems consistent, shouldn't produce bugs, and is already set up to work with Hatch. To check the formatting of the repo, you can run hatch run style:check and to actually format it, you can run hatch run style:format.

Of course, before adding black on every commit (as a commit hook), we should update our code base with it. This issue/branch is devoted to that.