From 456d98ac0379a7b1f945d926eded01db30c62c8e Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Tue, 23 Apr 2019 14:41:59 +0200 Subject: [PATCH] all: style --- core/src/apps/tezos/sign_tx.py | 7 +------ crypto/tests/test_curves.py | 3 +-- crypto/tests/test_wycheproof.py | 1 - 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/core/src/apps/tezos/sign_tx.py b/core/src/apps/tezos/sign_tx.py index 04ef8d547..a15f96853 100644 --- a/core/src/apps/tezos/sign_tx.py +++ b/core/src/apps/tezos/sign_tx.py @@ -7,12 +7,7 @@ from trezor.messages import TezosBallotType, TezosContractType from trezor.messages.TezosSignedTx import TezosSignedTx from apps.common import paths -from apps.common.writers import ( - write_bytes, - write_uint8, - write_uint16_be, - write_uint32_be, -) +from apps.common.writers import write_bytes, write_uint8, write_uint32_be from apps.tezos import CURVE, helpers, layout PROPOSAL_LENGTH = const(32) diff --git a/crypto/tests/test_curves.py b/crypto/tests/test_curves.py index 093f95ab0..2a15bf779 100755 --- a/crypto/tests/test_curves.py +++ b/crypto/tests/test_curves.py @@ -5,11 +5,10 @@ import hashlib import os import random +import curve25519 import ecdsa import pytest -import curve25519 - def bytes2num(s): res = 0 diff --git a/crypto/tests/test_wycheproof.py b/crypto/tests/test_wycheproof.py index 96edf3558..c449b29c8 100755 --- a/crypto/tests/test_wycheproof.py +++ b/crypto/tests/test_wycheproof.py @@ -5,7 +5,6 @@ import os from binascii import hexlify, unhexlify import pytest - from pyasn1.codec.ber.decoder import decode as ber_decode from pyasn1.codec.der.decoder import decode as der_decode from pyasn1.codec.der.encoder import encode as der_encode