Skip to content

Commit cd67dd6

Browse files
author
Hareem Adderley
committed
style: fix black check issues
1 parent c874db6 commit cd67dd6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

pycardano/pool_params.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,5 +328,7 @@ def from_primitive(
328328
try:
329329
value = bytes.fromhex(value)
330330
except Exception as e:
331-
raise DecodingException(f"Failed to decode pool id string: {e}") from e
331+
raise DecodingException(
332+
f"Failed to decode pool id string: {e}"
333+
) from e
332334
return cls(PoolKeyHash.from_primitive(value))

test/pycardano/test_certificate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
DRep,
1111
DRepCredential,
1212
DRepKind,
13+
IdFormat,
1314
PoolRegistration,
1415
PoolRetirement,
1516
ResignCommitteeColdCertificate,
@@ -18,7 +19,7 @@
1819
StakeDeregistration,
1920
StakeRegistration,
2021
UnregDRepCertificate,
21-
UpdateDRepCertificate, IdFormat,
22+
UpdateDRepCertificate,
2223
)
2324
from pycardano.exception import DeserializeException, InvalidArgumentException
2425
from pycardano.hash import ( # plutus_script_hash,

test/pycardano/test_governance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44

55
from pycardano.address import Address
6-
from pycardano.certificate import Anchor, StakeCredential, IdFormat
6+
from pycardano.certificate import Anchor, IdFormat, StakeCredential
77
from pycardano.exception import DeserializeException
88
from pycardano.governance import (
99
CommitteeColdCredential,

0 commit comments

Comments
 (0)