From 46d8576a64b2b6c9fa3e77a683a83a4a7d70d9f1 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Wed, 24 Apr 2019 14:40:25 +0300 Subject: [PATCH] Suppressed pylint relative-import and pycodestyle E402 in depends --- src/depends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/depends.py b/src/depends.py index 113c8895..f4a5157c 100755 --- a/src/depends.py +++ b/src/depends.py @@ -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