Skip to content

Commit 69f917d

Browse files
committed
chore: fix linting issues
1 parent eaedf73 commit 69f917d

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

pactus/crypto/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from .address import Address, AddressType
22
from .hrp import HRP
33

4-
__all__ = ["Address", "AddressType", "HRP"]
4+
__all__ = ["HRP", "Address", "AddressType"]
55

66

77

pactus/crypto/bls/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .private_key import PrivateKey
22
from .public_key import PublicKey
3-
from .signature import Signature, SIGNATURE_TYPE_BLS, DST
3+
from .signature import DST, SIGNATURE_TYPE_BLS, Signature
44

5-
__all__ = ["PrivateKey", "PublicKey", "Signature", "SIGNATURE_TYPE_BLS", "DST"]
5+
__all__ = ["DST", "SIGNATURE_TYPE_BLS", "PrivateKey", "PublicKey", "Signature"]
66

pactus/crypto/ed25519/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .private_key import PrivateKey
22
from .public_key import PublicKey
3-
from .signature import Signature, SIGNATURE_TYPE_ED25519
3+
from .signature import SIGNATURE_TYPE_ED25519, Signature
44

5-
__all__ = ["PrivateKey", "PublicKey", "Signature", "SIGNATURE_TYPE_ED25519"]
5+
__all__ = ["SIGNATURE_TYPE_ED25519", "PrivateKey", "PublicKey", "Signature"]
66

pactus/crypto/hrp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ def use_mainnet(cls) -> None:
1313
def use_testnet(cls) -> None:
1414
cls.ADDRESS_HRP = "tpc"
1515
cls.PUBLIC_KEY_HRP = "tpublic"
16-
cls.PRIVATE_KEY_HRP = "tsecret"
16+
cls.PRIVATE_KEY_HRP = "tsecret"

pactus/transaction/_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from abc import ABC, abstractmethod
22
from enum import Enum
33

4-
from pactus.types.amount import Amount
54
from pactus.crypto.address import Address
65
from pactus.encoding import encoding
6+
from pactus.types.amount import Amount
77

88

99
class PayloadType(Enum):

pactus/transaction/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from pactus.types.amount import Amount
21
from pactus.crypto.address import Address
32
from pactus.crypto.private_key import PrivateKey
43
from pactus.crypto.public_key import PublicKey
54
from pactus.crypto.signature import Signature
65
from pactus.encoding import encoding
6+
from pactus.types.amount import Amount
77

88
from ._payload import (
99
BondPayload,

0 commit comments

Comments
 (0)