Skip to content

@ceball ceball released this Dec 22, 2019

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.4.1/README.rst for more information about nbsmoke.

Since the previous release (v0.4.1), there is just a packaging fix:.

  • Don't completely fail to import if beautifulsoup4 and requests are unavailable (only the "verify" functionality requires them; beautifulsoup4 and requests are supposed to be optional dependencies).

Full list of changes since the previous release: v0.4.0...v0.4.1

Assets 2
Dec 22, 2019
Start releasing 0.4.1

@ceball ceball released this Dec 20, 2019 · 1 commit to master since this release

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.4.0/README.rst for more information about nbsmoke.

Significant changes since the previous release (v0.3.0):

  • The dependencies for the "verify" command are now optional; pip users wanting this feature will need to add the "verify" extra (pip install nbsmoke[verify] or pip install nbsmoke[all]), or add the dependencies manually (pip install requests beautifulsoup4).
  • The dependency for holoviews magics lint checking (i.e. holoviews) is now optional; pip users wanting this feature will need to add the "holoviews-magics" extra (pip install nbsmoke[holoviews-magics] or pip install nbsmoke[all]), or add the dependency manually (pip install holoviews).
  • Bug fix: Avoid importing holoviews if available when nbsmoke is imported (#36). Previously, the mere presence of nbsmoke in an environment could affect test coverage measurement for projects that holoviews itself imports.

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

Assets 2

@ceball ceball released this Oct 26, 2019 · 5 commits to master since this release

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

Assets 2
Sep 14, 2019
First try at 0.3.0

@jsignell jsignell released this May 1, 2019 · 7 commits to master since this release

Please note that nbsmoke is still undergoing heavy development, so you should not rely on it, and various features are likely to change.

nbsmoke can be installed via pip install nbsmoke or conda installed from the pyviz channel (conda install -c pyviz nbsmoke) or conda-forge channel (conda install -c conda-forge nbsmoke`).

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

Changes since the previous release (v0.2.7):

  • Shorter lint tracebacks
  • Added --nbsmoke-lint-onlywarn: Report lint failures as warnings
  • Added --nbsmoke-lint-debug: Allow easier investigation (and debugging) of lint failures. nbsmoke lint currently uses nbconvert to convert ipynb to py, then runs pyflakes on that. You can now see the py source that was actually flake checked (pyflakes-reported line numbers correspond to this source). (Note: unhandled magics e.g. from holoviews can cause spurious flakes. I have separate changes that attempt to improve the situation. Meanwhile, this option is also helpful for debugging that situation.)
  • Only supporting html storage in python 3.

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

Assets 2
You can’t perform that action at this time.