pyln: Ignore generated files when linting

This commit is contained in:
Christian Decker
2022-07-11 18:11:47 +02:00
committed by Rusty Russell
parent aa82a96034
commit 20b2f0af85
2 changed files with 6 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ check: check-source check-pytest
check-source: check-flake8 check-mypy
check-flake8:
flake8 --ignore=E501,E731,W503,E741 pyln tests
flake8 --ignore=E501,E731,W503,E741 --exclude '*_pb2*.py,grpc2py.py' pyln tests
check-pytest:
pytest tests