#notebook #jupyter #linter #toml #root

app nbsanity

Jupyter Notebook Linter

3 releases

0.1.3 Feb 19, 2023
0.1.1 Feb 19, 2023
0.1.0 Feb 18, 2023

#20 in #jupyter

24 downloads per month

MIT license

22KB
586 lines

nbsanity

jupyter notebook linter

Install

cargo install nbsanity

Run

Run from the root of your project (requires pyproject.toml)

nbsanity

Configuration

Feature Description
CellExecutionIsSequential Each cell in a notebook is executed in sequence, one after another.
NoEmptyCells There are no empty cells in a notebook.

pyproject.toml

[tool.nbsanity]
disable = ["CellExecutionIsSequential"]

Dependencies

~2.9–4MB
~73K SLoC