pytest-notebook
pytest-notebook copied to clipboard
nb_diff_ignore settings in pytest.ini are being ignored
I am very excited about using this plugin. It does exactly what we need on our repo. We have a folder of jupyter notebook examples which we want to test to make sure they are up to data with changes in the main package. We point users to these examples so want to make sure they all work.
Anyway, I've got your plugin working fine with pytest, but only if I put several lines in the meta data of each notebook (eg. "nbreg": { "diff_ignore": [
I think I followed the documentation, but nothing I put in the pytest.ini file seems to make any difference.
Here is the pytest-notebook section of my file:
nb_diff_ignore =
/metadata
/cells/*/execution_count
/cells/*/outputs/*/data
/cells/*/outputs/*/text
/cells/*/outputs/*/data/image/png
Any suggestions?