Add "make check-python"

This commit is contained in:
practicalswift 2018-02-24 19:02:42 +01:00 committed by Christian Decker
parent d2109bfe0c
commit fd4a36e777

View File

@ -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