materialsproject / fireworks

The Fireworks Workflow Management Repo.
https://materialsproject.github.io/fireworks
Other
351 stars 184 forks source link

Add pre-commit hooks #457

Closed janosh closed 2 years ago

janosh commented 2 years ago

As discussed in private communication, this PR adds pre-commit hooks and auto-formatting following the atomate style, i.e. line length 125.

It is a lot, so I split the commits up into the changes performed by each individual hook. That, way, it should be easier to revert any unwelcome changes.

janosh commented 2 years ago

Should be good to go now.

computron commented 2 years ago

Thank you!