pylightning: Add plugin dispatch tests to check-python and fix them

These weren't checked by CI yet, and they are really short so I just added
them to the check-python target.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2019-02-21 18:59:15 +01:00
committed by Rusty Russell
parent 7f11b4854e
commit f622ffb087
4 changed files with 117 additions and 114 deletions

View File

@@ -302,6 +302,8 @@ check-python:
@# W503: line break before binary operator
@flake8 --ignore=E501,E731,W503 --exclude=contrib/pylightning/lightning/__init__.py ${PYSRC}
PYTHONPATH=contrib/pylightning:$$PYTHONPATH $(PYTEST) contrib/pylightning/
check-includes:
@tools/check-includes.sh