mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Add "make check-python"
This commit is contained in:
parent
d2109bfe0c
commit
fd4a36e777
7
Makefile
7
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user