https://github.com/GPflow/GPflow
Revision 5744b519b682507d83db546116c41254994f4fa8 authored by Aidan Scannell on 04 August 2020, 17:31:56 UTC, committed by GitHub on 04 August 2020, 17:31:56 UTC
* Fixed separate_independent_conditional to correctly handle q_sqrt=None. Co-authored-by: Aidan Scannell <scannell.aidan@gmail.com> Co-authored-by: st-- <st--@users.noreply.github.com>
1 parent 20c5ee4
Tip revision: 5744b519b682507d83db546116c41254994f4fa8 authored by Aidan Scannell on 04 August 2020, 17:31:56 UTC
Fixed separate_independent_conditional to correctly handle q_sqrt=None. (#1533)
Fixed separate_independent_conditional to correctly handle q_sqrt=None. (#1533)
Tip revision: 5744b51
Makefile
BLACK_CONFIG=-t py36 -l 100
BLACK_TARGETS=gpflow tests doc setup.py
.PHONY: help clean dev-install install package format format-check type-check test check-all
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 " clean removes package, build files and egg info"
@echo " format auto-format code"
@echo " format-check check that code has been formatted correctly"
@echo " type-check check that mypy is happy with type annotations"
@echo " test run all tests"
@echo " check-all run format-check, type-check, and test (as run by the continuous integration system)"
clean:
rm -rf dist *.egg-info build
dev-install:
pip install -e .
install:
pip install .
package:
python setup.py bdist
format:
black $(BLACK_CONFIG) $(BLACK_TARGETS)
format-check:
black --check $(BLACK_CONFIG) $(BLACK_TARGETS)
type-check:
mypy .
test:
pytest -v --durations=10 tests/
check-all: format-check type-check test
Computing file changes ...