Skip to content

Commit 5416f7c

Browse files
committed
Linting: reformat codebase using 'black'
1 parent dd17ef8 commit 5416f7c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

pywisetransfer/balance_statements.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,15 @@ class BalanceStatements:
1818
def __init__(self, client: Client):
1919
self.service = BalanceStatementsService(client=client)
2020

21-
def statement(self, profile_id: str, balance_id: str, currency: str, interval_start: str, interval_end: str, type: str = "COMPACT") -> Any:
21+
def statement(
22+
self,
23+
profile_id: str,
24+
balance_id: str,
25+
currency: str,
26+
interval_start: str,
27+
interval_end: str,
28+
type: str = "COMPACT",
29+
) -> Any:
2230
valid_types = ["COMPACT", "FLAT"]
2331
assert type in valid_types, f"Invalid type '{type}'; value values are: {valid_types}"
2432
return munchify(

pywisetransfer/borderless_account.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ class BorderlessAccount:
2121
def __init__(self, client: Client):
2222
self.service = BorderlessAccountService(client=client)
2323

24-
@deprecated(message='The borderless-accounts endpoint is deprecated; please use account-details instead')
24+
@deprecated(
25+
message="The borderless-accounts endpoint is deprecated; please use account-details instead"
26+
)
2527
def list(self, profile_id: str) -> list[Any]:
2628
accounts: list[Any] = self.service.list(params={"profileId": profile_id})
2729
return munchify(accounts)

0 commit comments

Comments
 (0)