trezor: ignore pylint errors

nistp521
Roman Zeyde 9 years ago
parent a60a627b8a
commit 78d701ecdf

@ -12,6 +12,7 @@ class TrezorLibrary(object):
@staticmethod @staticmethod
def client(): def client():
# pylint: disable=import-error
from trezorlib.client import TrezorClient from trezorlib.client import TrezorClient
from trezorlib.transport_hid import HidTransport from trezorlib.transport_hid import HidTransport
devices = HidTransport.enumerate() devices = HidTransport.enumerate()
@ -21,6 +22,7 @@ class TrezorLibrary(object):
@staticmethod @staticmethod
def identity(label, proto='ssh'): def identity(label, proto='ssh'):
# pylint: disable=import-error
from trezorlib.types_pb2 import IdentityType from trezorlib.types_pb2 import IdentityType
return IdentityType(host=label, proto=proto) return IdentityType(host=label, proto=proto)

Loading…
Cancel
Save