https://github.com/GPflow/GPflow
Revision f36052b395dc48a473dcc5b49d8d9a3b5d6f58ba authored by st-- on 18 March 2020, 14:32:52 UTC, committed by GitHub on 18 March 2020, 14:32:52 UTC
Adds shape asserts to some of the modules listed in #1241:
- conditionals.mo_conditionals (not 100%)
- conditionals.util
- kullback_leiblers
- logdensities (only `multivariate_normal`)
1 parent d3ca3c9
Raw File
Tip revision: f36052b395dc48a473dcc5b49d8d9a3b5d6f58ba authored by st-- on 18 March 2020, 14:32:52 UTC
assert_shapes in code instead of just comments (#1219)
Tip revision: f36052b
Makefile
.PHONY: help clean dev-install install package format 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

format:
	black -t py36 --line-length=100 gpflow tests

test:
	pytest -v --durations=10 tests/
back to top