From 71740283e42157af1c7e14fdfd068e5b3834b623 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Wed, 22 Sep 2021 18:06:50 +0200 Subject: [PATCH] gci: Add missing tooling --- .github/scripts/build.sh | 2 ++ Makefile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index 645783cc10f0..67c4396f2c34 100755 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -29,6 +29,8 @@ pip3 install --user -U -r requirements.txt --use-feature=in-tree-build # keeps breaking the rerunfailures plugin). pip3 install --user -U \ blinker \ + flake8 \ + make \ pytest-sentry \ pytest-test-groups==1.0.3 \ pytest-custom-exit-code==0.3.0 \ diff --git a/Makefile b/Makefile index bd46d77fc049..01d3a83ce0c2 100644 --- a/Makefile +++ b/Makefile @@ -474,7 +474,8 @@ check-python-flake8: @# 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 --exclude $(shell echo ${PYTHON_GENERATED} | sed 's/ \+/,/g') ${PYSRC} + @# E741: ambiguous variable name + @flake8 --ignore=E501,E731,E741,W503 --exclude $(shell echo ${PYTHON_GENERATED} | sed 's/ \+/,/g') ${PYSRC} check-pytest-pyln-proto: PATH=$(PYLN_PATH) PYTHONPATH=$(PYTHONPATH) $(PYTEST) contrib/pyln-proto/tests/