CALIPSO-project / SPINacc

A spinup acceleration procedure for land surface models (LSM) . Developer team Mandresy Rasolonjatovo, Tianzhang Cai, Matthew Archer, Daniel Goll
4 stars 0 forks source link

Apply `ruff` auto-formatter and corresponding pre-commit hooks #47

Closed ma595 closed 6 months ago

ma595 commented 6 months ago

This PR applies the ruff auto-formatter to the python codebase as well as checks for:

Pre-commit hooks enforce automatic formatting before a commit is made. These are not mandatory, but they are still strongly advised (and will become less important when remote checks are in place). To enable do the following:

pip install pre-commit
pre-commit install
pre-commit run --all-files

This PR is ready for review once the following tasks are completed. Addresses some of #38 and #39.

Contributing guide will be edited in a later PR.

Addresses some of #38