Skip to content

alexandercbooth/nblint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nblint

Build Status Build status

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