nblint
nblint copied to clipboard
A simple CLI tool to lint to Jupyter notebooks
nblint
Lint Jupyter notebooks like a boss
A simple CLI tool to lint to Jupyter notebooks.
Installation
with pip
$ pip install nblint
or bleeding edge
$ git clone https://github.com/alexandercbooth/nblint.git
$ python setup.py install
Usage
Python
Runs pycodestyle as the default linter and supports pyflakes
$ nblint pythonNotebook.ipynb
or pyflakes:
$ nblint --linter pyflakes pythonNotebook.ipynb
Currently supports the following other languages
Go
$ nblint --linter golint goNotebook.ipynb
JavaScript (es6)
$ nblint --linter eslint jsNotebook.ipynb