[config] Adds __doc__ to option/service. Fix variable names in Option.__get__() that would have an unpredicatable behaviour in the rare case of using get on a type. Update to Medikit.

This commit is contained in:
Romain Dorgueil
2017-10-21 12:38:02 +02:00
parent 7c8625dda6
commit 866824db7c
5 changed files with 23 additions and 13 deletions

View File

@ -1,7 +1,5 @@
# This file has been auto-generated.
# All changes will be lost, see Projectfile.
#
# Updated at 2017-10-05 18:56:33.985014
# This file has been auto-generated by Medikit. All changes will be lost.
# Updated on 2017-10-21.
PACKAGE ?= bonobo
PYTHON ?= $(shell which python)
@ -22,7 +20,7 @@ YAPF ?= $(PYTHON) -m yapf
YAPF_OPTIONS ?= -rip
VERSION ?= $(shell git describe 2>/dev/null || echo dev)
.PHONY: $(SPHINX_SOURCEDIR) clean format install install-dev test
.PHONY: $(SPHINX_SOURCEDIR) clean format install install-dev test update update-requirements
# Installs the local project dependencies.
install:
@ -40,6 +38,16 @@ install-dev:
clean:
rm -rf build dist *.egg-info
# Update project artifacts using medikit, after installing it eventually.
update:
python -c 'import medikit; print(medikit.__version__)' || pip install medikit;
$(PYTHON) -m medikit update
# Remove requirements files and update project artifacts using medikit, after installing it eventually.
update-requirements:
rm -rf requirements*.txt
$(MAKE) update
test: install-dev
$(PYTEST) $(PYTEST_OPTIONS) tests