Suppressed pylint relative-import and pycodestyle E402 in depends
This commit is contained in:
parent
b046898553
commit
46d8576a64
|
@ -190,7 +190,7 @@ def try_import(module, log_extra=False):
|
||||||
def check_ripemd160():
|
def check_ripemd160():
|
||||||
"""Check availability of the RIPEMD160 hash function"""
|
"""Check availability of the RIPEMD160 hash function"""
|
||||||
try:
|
try:
|
||||||
from fallback import RIPEMD160Hash # pylint: disable=relative-import
|
from fallback import RIPEMD160Hash
|
||||||
except ImportError:
|
except ImportError:
|
||||||
return False
|
return False
|
||||||
return RIPEMD160Hash is not None
|
return RIPEMD160Hash is not None
|
||||||
|
|
Reference in New Issue
Block a user