diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index 645783cc1..67c4396f2 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 bd46d77fc..01d3a83ce 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/