Skip to content

Commit fd97447

Browse files
committed
Fix after review
1 parent 7974cfd commit fd97447

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

erdpy/accounts.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@ def get_all(self):
4545

4646

4747
class Account(IAccount):
48-
def __init__(self, address: Any = None, pem_file: Optional[str] = None, pem_index: int = 0, key_file: str = "", pass_file: str = "",
48+
def __init__(self,
49+
address: Any = None,
50+
pem_file: Optional[str] = None,
51+
pem_index: int = 0,
52+
key_file: str = "",
53+
pass_file: str = "",
4954
ledger: bool = False):
5055
self.address = Address(address)
5156
self.pem_file = pem_file

erdpy/cli_contracts.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ def _add_project_arg(sub: Any):
112112

113113
def _add_project_or_bytecode_arg(sub: Any):
114114
group = sub.add_mutually_exclusive_group(required=True)
115-
group.add_argument("--project", default=os.getcwd(), help="🗀 the project directory (default: current directory)")
116-
group.add_argument("--bytecode", help="the WASM file", type=str)
115+
group.add_argument("--project", default=os.getcwd(),
116+
help="🗀 the project directory (default: current directory)")
117+
group.add_argument("--bytecode", type=str,
118+
help="the file containing the WASM bytecode")
117119

118120

119121
def _add_contract_arg(sub: Any):

0 commit comments

Comments
 (0)