From d059290f8b2b2f9dad589a3dfeabeb81d3f0fb08 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 26 Aug 2021 13:00:33 +0930 Subject: [PATCH] commando: minor cleanups to keep flake8/mypy happy. Signed-off-by: Rusty Russell --- commando/commando.py | 4 ++-- commando/test_commando.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commando/commando.py b/commando/commando.py index 32a9bd3..c9a65da 100755 --- a/commando/commando.py +++ b/commando/commando.py @@ -18,14 +18,14 @@ type:594D - last reply Each one is an 8 byte id (to link replies to command), followed by JSON. """ -from pyln.client import Plugin, RpcError +from pyln.client import Plugin, RpcError # type: ignore import json import textwrap import time import random import secrets import string -import runes +import runes # type: ignore from typing import Dict, Tuple, Optional plugin = Plugin() diff --git a/commando/test_commando.py b/commando/test_commando.py index f617c20..d8920bb 100755 --- a/commando/test_commando.py +++ b/commando/test_commando.py @@ -1,9 +1,9 @@ import os -from pyln.testing.fixtures import * # noqa: F401,F403 -from pyln.client import RpcError +from pyln.testing.fixtures import * # type: ignore +from pyln.client import RpcError # type: ignore import pytest import json -import runes +import runes # type: ignore import commando import time