trezor: ignore pylint errors
This commit is contained in:
@@ -12,6 +12,7 @@ class TrezorLibrary(object):
|
||||
|
||||
@staticmethod
|
||||
def client():
|
||||
# pylint: disable=import-error
|
||||
from trezorlib.client import TrezorClient
|
||||
from trezorlib.transport_hid import HidTransport
|
||||
devices = HidTransport.enumerate()
|
||||
@@ -21,6 +22,7 @@ class TrezorLibrary(object):
|
||||
|
||||
@staticmethod
|
||||
def identity(label, proto='ssh'):
|
||||
# pylint: disable=import-error
|
||||
from trezorlib.types_pb2 import IdentityType
|
||||
return IdentityType(host=label, proto=proto)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user