uci-uav-forge / uavf

UAV Forge's ODCL repository.
MIT License
1 stars 1 forks source link

Notebook outputs pollute commits #24

Closed rland93 closed 2 years ago

rland93 commented 2 years ago

This is sort of minor, but I hate that this repo is listed as a Jupyter Notebook project.

That's because if you commit a notebook, all notebook outputs are also included in commits, which makes notebooks like 12412513123 "lines of code" even though most of it is junk.

So maybe we can find a way to scrub outputs before committing without having to manually clear them.

rland93 commented 2 years ago

There's not an easy way to do this automatically, but jupytext:

https://jupytext.readthedocs.io/en/latest/index.html

comes close. I'm going to commit notebooks in its "light" format, so that they show up as scripts.

rland93 commented 2 years ago

Fixed.