[CHORE] string formatting default length 88 (#1887)

* [CHORE] string formatting default length 88

uses blacks default off 88 and enabled autostringformatting

* formatting

* nitpicks jackstar

fix
This commit is contained in:
dni ⚡
2023-08-24 10:26:09 +01:00
committed by GitHub
parent 2ab18544c3
commit 4e6f229db2
34 changed files with 245 additions and 160 deletions
+4 -2
View File
@@ -46,7 +46,8 @@ class SparkWallet(Wallet):
async def call(*args, **kwargs):
if args and kwargs:
raise TypeError(
f"must supply either named arguments or a list of arguments, not both: {args} {kwargs}"
"must supply either named arguments or a list of arguments, not"
f" both: {args} {kwargs}"
)
elif args:
params = args
@@ -161,7 +162,8 @@ class SparkWallet(Wallet):
if len(pays) > 1:
raise SparkError(
f"listpays({payment_hash}) returned an unexpected response: {listpays}"
f"listpays({payment_hash}) returned an unexpected response:"
f" {listpays}"
)
if pay["status"] == "failed":