Browse Source

make: Enable mypy checks on pyln-testing

travis-experimental
Christian Decker 4 years ago
committed by Rusty Russell
parent
commit
2a176d2ef7
  1. 3
      Makefile

3
Makefile

@ -393,13 +393,12 @@ PYLN_PATH=$(shell pwd)/lightningd:$(PATH)
check-pyln-%: $(BIN_PROGRAMS)
@(cd contrib/$(shell echo $@ | cut -b 7-) && PATH=$(PYLN_PATH) PYTHONPATH=$(PYTHONPATH) $(MAKE) check)
check-python: check-pyln-client
check-python: check-pyln-client check-pyln-testing
@# E501 line too long (N > 79 characters)
@# E731 do not assign a lambda expression, use a def
@# W503: line break before binary operator
@flake8 --ignore=E501,E731,W503 ${PYSRC}
PATH=$(PYLN_PATH) PYTHONPATH=$(PYTHONPATH) $(PYTEST) contrib/pyln-testing/tests/
PATH=$(PYLN_PATH) PYTHONPATH=$(PYTHONPATH) $(PYTEST) contrib/pyln-proto/tests/
check-includes:

Loading…
Cancel
Save