-1

I would like to enforce a policy that all Jupyter notebooks that are checked into a git repository were run top to bottom. That is, I would like to check whether the cells in the notebook were executed in sequence.

Are there any existing solutions for this problem? Are there simpler ways to do this than parsing the raw notebook json?

RoyalTS
  • 9,545
  • 12
  • 60
  • 101

1 Answers1

-1

A few hours later, this has turned into a pre-commit hook Python package. May I present notebooks-in-order!

RoyalTS
  • 9,545
  • 12
  • 60
  • 101
  • Probably better suited in the Show and Tell category at [the Jupyter Discourse Forum](https://discourse.jupyter.org/c/general/show-and-tell/45). – Wayne Jul 28 '22 at 15:45