xarray-contrib / xdggs

Xarray extension for DGGS
https://xdggs.readthedocs.io
Apache License 2.0
79 stars 14 forks source link

more `pre-commit` hooks #26

Closed keewis closed 12 months ago

keewis commented 12 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 12 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.