diff --git a/Makefile b/Makefile index e16e956cc..f7c47233f 100644 --- a/Makefile +++ b/Makefile @@ -241,7 +241,12 @@ check-markdown: check-spelling: @tools/check-spelling.sh -check-source: check-makefile check-source-bolt check-whitespace check-markdown check-spelling +check-python: + @# E501 line too long (N > 79 characters) + @# E731 do not assign a lambda expression, use a def + @git ls-files "*.py" | xargs flake8 --ignore=E501,E731 --exclude=contrib/pylightning/lightning/__init__.py + +check-source: check-makefile check-source-bolt check-whitespace check-markdown check-spelling check-python full-check: check check-source