xarray-contrib / xdggs

Xarray extension for DGGS
Apache License 2.0
54 stars 9 forks source link

more `pre-commit` hooks #26

Closed keewis closed 9 months ago

keewis commented 9 months ago

The repository contains notebooks now, from which it might make sense to strip the execution information (cell info, kernel info, cell output). This also changes the autoformatter from ruff to black, since the latter allows formatting notebooks (though maybe we can use nbqa with ruff format?).

Similar to xarray, this also adds absolufy-imports, as this makes imports a bit easier to understand.

keewis commented 9 months ago

merging since this makes development a bit easier. Note that I'm not particular attached to using black specifically, I just need a formatter for the code in notebooks.