mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
make: Enable mypy checks on pyln-testing
This commit is contained in:
parent
c498f949cc
commit
2a176d2ef7
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…
Reference in New Issue
Block a user