We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 691f483 commit 70791b0Copy full SHA for 70791b0
contrib/pyln-proto/Makefile
@@ -1,10 +1,13 @@
1
#! /usr/bin/make
2
3
-default: check-source check
4
-
5
check:
6
pytest
7
8
-check-source:
+check-source: check-flake8 check-mypy
+
+check-flake8:
9
flake8 --ignore=E501,E731,W503
10
11
+# mypy . does not recurse. I have no idea why...
12
+check-mypy:
13
+ mypy --ignore-missing-imports `find * -name '*.py'`
contrib/pyln-proto/pyln/proto/message/Makefile
@@ -1,4 +1,8 @@
+PYTHONFILES := $(shell find * -name '*.py')
+check:
+ mypy --ignore-missing-imports $(PYTHONFILES)
refresh:
for d in bolt*; do $(MAKE) -C $$d; done
0 commit comments