ACCESS-NRI / um2nc-standalone

Standalone um2nc/um2netcdf to unify development efforts in a single repository.
Apache License 2.0
0 stars 0 forks source link

Automatic code formatting / linting #26

Open truth-quark opened 4 months ago

truth-quark commented 4 months ago

Task: configure automatic code formatting with black, ruff or suitable tool.

Also document instructions for users to run formatters via pre-commit hooks.

Tasks:

atteggiani commented 3 weeks ago

I vote for Ruff for both linting and formatting.

pre-commit hooks and CI could be set up following replace_landsurface's pre-commit-config and CI.