Skip to content

Commit bef68d3

Browse files
committed
pyln.proto.message.*: Add Makefile to do mypy checks.
Signed-off-by: Rusty Russell <[email protected]>
1 parent efd38a4 commit bef68d3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

contrib/pyln-proto/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#! /usr/bin/make
22

3-
default: check-source check
4-
53
check:
64
pytest
75

8-
check-source:
6+
check-source: check-flake8 check-mypy
7+
8+
check-flake8:
99
flake8 --ignore=E501,E731,W503
1010

11+
# mypy . does not recurse. I have no idea why...
12+
check-mypy:
13+
mypy --ignore-missing-imports `find * -name '*.py'`

0 commit comments

Comments
 (0)