Installation

Stable release

To install flake8-nb, run this command in your terminal:

$ pip install flake8-nb

This is the preferred method to install flake8-nb, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

From sources

You can either pip install it directly from github:

$ pip install git+git://github.com/s-weigand/flake8-nb@<branch_name>

Or get the sources for flake8-nb, which can be downloaded from the Github repo.

By cloning the public repository:

$ git clone git://github.com/s-weigand/flake8-nb

Or downloading the tarball:

$ curl -OJL https://github.com/s-weigand/flake8-nb/tarball/main

Once you have a copy of the source, you can install it with:

$ python setup.py install