Suppressed pylint relative-import and pycodestyle E402 in depends

This commit is contained in:
Dmitri Bogomolov 2019-04-24 14:40:25 +03:00
parent b046898553
commit 46d8576a64
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -190,7 +190,7 @@ def try_import(module, log_extra=False):
def check_ripemd160():
"""Check availability of the RIPEMD160 hash function"""
try:
from fallback import RIPEMD160Hash # pylint: disable=relative-import
from fallback import RIPEMD160Hash
except ImportError:
return False
return RIPEMD160Hash is not None