Skip to content

Commit

Permalink
Fix incorrectly sorted imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
bargst committed Jun 30, 2018
1 parent 761c170 commit c81fcec
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 24 deletions.
30 changes: 11 additions & 19 deletions eth_account/signers/ledger.py
Original file line number Diff line number Diff line change
@@ -1,40 +1,32 @@
import hid
import itertools
import logging
import struct
import time

import eth_utils
import rlp

from eth_utils import (
to_bytes,
to_hex,
)
from eth_utils.curried import (
keccak,
)
from hexbytes import HexBytes

import rlp
from eth_account import (
Account,
)

from eth_account.datastructures import (
AttributeDict,
)

from eth_account.signers.base import (
BaseAccount,
)

from eth_account.internal.transactions import (
encode_transaction,
serializable_unsigned_transaction_from_dict,
)

from eth_utils import (
to_bytes,
to_hex,
)

from eth_utils.curried import (
keccak,
from eth_account.signers.base import (
BaseAccount,
)

import hid

ETH_DERIVATION_PATH_PREFIX = "m/44'/60'/0'/"

Expand Down
9 changes: 4 additions & 5 deletions tests/integration/ledger/test_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

import pytest

from hexbytes import (
HexBytes,
)

from eth_account import (
Account,
)
Expand All @@ -10,11 +14,6 @@
LedgerAccount,
)

from hexbytes import (
HexBytes,
)


# Not a fixture because it does not support multiple LedgerAccount
ledger = LedgerAccount()

Expand Down

0 comments on commit c81fcec

Please sign in to comment.