Skip to content

Version 0.3.0

Compare
Choose a tag to compare
@ceball ceball released this 26 Oct 21:30

nbsmoke provides basic notebook checks: Do they run? Do they contain lint?

The latest release of nbsmoke can be installed via pip install nbsmoke from pypi or via conda install -c pyviz nbsmoke from anaconda.org. Other distributions may also be available.

Please see https://github.com/pyviz/nbsmoke/blob/v0.3.0/README.rst for more information about nbsmoke.

Since the previous release (v0.2.8), there are a number of new features:

  • support for flake messages to ignore (by regex) - fixes #22

  • support for magics blacklist (i.e. magics that if present cause a flake) - fixes #21

  • added support for script & capture cell magics (mainly as a demo) - fixes #24

  • increased the number of builtin magics that will be silently ignored (as they don't interact with the python process), e.g. bookmark, edit, who, etc - fixes #24

  • lint failures can be set to be warnings only (potentially useful for systems that report warnings)

There are also a number of internal changes, most of which relate to lint checking of magics. The changes should make flake checking more consistent and reliable, but there may be some differences from previous behavior.

There is also now a reasonable test suite.

Full list of changes since the previous release: v0.2.8...v0.3.0