From d2bd4a25f8f401dce84b7be9c1beda9af0436b11 Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Fri, 23 Apr 2021 10:44:52 +0200 Subject: [PATCH] Fix import style --- nucypher/network/nodes.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/nucypher/network/nodes.py b/nucypher/network/nodes.py index ab8d546f1..a889f8d4a 100644 --- a/nucypher/network/nodes.py +++ b/nucypher/network/nodes.py @@ -24,11 +24,21 @@ from typing import Iterable, List, Set, Tuple, Union import maya import requests -from bytestring_splitter import BytestringSplitter, BytestringSplittingError, PartiallyKwargifiedBytes, \ +from bytestring_splitter import ( + BytestringSplitter, + PartiallyKwargifiedBytes, VariableLengthBytestring +) from constant_sorrow import constant_or_bytes -from constant_sorrow.constants import (CERTIFICATE_NOT_SAVED, FLEET_STATES_MATCH, NOT_SIGNED, NO_KNOWN_NODES, - NO_STORAGE_AVAILIBLE, RELAX, UNKNOWN_VERSION) +from constant_sorrow.constants import ( + CERTIFICATE_NOT_SAVED, + FLEET_STATES_MATCH, + NOT_SIGNED, + NO_KNOWN_NODES, + NO_STORAGE_AVAILIBLE, + RELAX, + UNKNOWN_VERSION +) from cryptography.x509 import Certificate from eth_utils import to_checksum_address from requests.exceptions import SSLError