mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-03 05:04:21 +01:00
pyln.proto.message.*: Add Makefile to do mypy checks.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
acfeaebb62
commit
da070e73b2
@@ -1,10 +1,13 @@
|
||||
#! /usr/bin/make
|
||||
|
||||
default: check-source check
|
||||
|
||||
check:
|
||||
pytest
|
||||
|
||||
check-source:
|
||||
check-source: check-flake8 check-mypy
|
||||
|
||||
check-flake8:
|
||||
flake8 --ignore=E501,E731,W503
|
||||
|
||||
# mypy . does not recurse. I have no idea why...
|
||||
check-mypy:
|
||||
mypy --ignore-missing-imports `find * -name '*.py'`
|
||||
|
||||
Reference in New Issue
Block a user