Skip to content

Commit cc4d2e3

Browse files
committed
chore: fix linting issues
1 parent 8bbcde7 commit cc4d2e3

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

examples/example_key_generation.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
import argparse
22

3-
from pactus.crypto.hrp import HRP
4-
from pactus.crypto.address import AddressType
3+
from pactus.crypto import Address, AddressType, HRP, PrivateKey, PublicKey
54
from pactus.crypto.bls import PrivateKey as BLSPrivateKey
65
from pactus.crypto.ed25519 import PrivateKey as Ed25519PrivateKey
7-
from pactus.crypto import PrivateKey
8-
from pactus.crypto import PublicKey
9-
from pactus.crypto.address import Address
106

117

128
def main() -> None:

pactus/crypto/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
from .address import Address, AddressType
22
from .hrp import HRP
3+
from .private_key import PrivateKey
4+
from .public_key import PublicKey
35

4-
__all__ = ["HRP", "Address", "AddressType"]
6+
__all__ = ["HRP", "Address", "AddressType", "PrivateKey", "PublicKey"]

0 commit comments

Comments
 (0)