mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 19:14:19 +01:00
chore: run pyupgrade (#623)
- use `{...}` instead of `set([...])`
- do not use `class Foo(object):`, just use `class Foo:`
- do not specify default flags (`"r"`) for `open()`
This commit is contained in:
@@ -27,7 +27,7 @@ from .macaroon import load_macaroon
|
||||
|
||||
|
||||
class CoreLightningRestWallet(LightningBackend):
|
||||
supported_units = set([Unit.sat, Unit.msat])
|
||||
supported_units = {Unit.sat, Unit.msat}
|
||||
unit = Unit.sat
|
||||
supports_incoming_payment_stream: bool = True
|
||||
supports_description: bool = True
|
||||
|
||||
Reference in New Issue
Block a user