https://github.com/GPflow/GPflow
Revision 27b07703fdad398c9cf03bdfbf631e80bcfb21f2 authored by st-- on 03 February 2020, 14:00:53 UTC, committed by GitHub on 03 February 2020, 14:00:53 UTC
Makes use of Jupytext to store notebook source in a more readable format, which should make PR reviewing as well as fixing bugs much more straightforward. Also provides a Makefile to regenerate .ipynb from source.

* `make pair-ipynb` was used to create the .pct.py/.md versions off the .ipynb in `develop`.

* `make all` will execute all .pct.py/.md jupytext notebooks to recreate the .ipynb (this may change the figures in notebooks that haven't had numpy/tensorflow random seeds set yet)

* test_notebooks now runs .pct.py/.md in the CI
1 parent 40b2727
Raw File
Tip revision: 27b07703fdad398c9cf03bdfbf631e80bcfb21f2 authored by st-- on 03 February 2020, 14:00:53 UTC
jupytext for notebooks (#1239)
Tip revision: 27b0770
Makefile
.PHONY: help clean dev docs package test

help:
	@echo "The following make targets are available:"
	@echo "	dev-install		install all dependencies for dev environment and sets a egg link to the project sources"
	@echo "	install			install all dependencies and the project in the current environment"
	@echo "	package			build pip package"
	@echo "	test			run all tests in parallel"
	@echo "	clean			removes package, build files and egg info"

clean:
	rm -rf dist *.egg-info build

dev-install:
	pip install -e .

install:
	pip install .

package:
	python setup.py bdist

test:
	pytest -n auto tests/
back to top