mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 02:54:20 +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:
@@ -25,7 +25,7 @@ from .base import (
|
||||
class LNbitsWallet(LightningBackend):
|
||||
"""https://github.com/lnbits/lnbits"""
|
||||
|
||||
supported_units = set([Unit.sat])
|
||||
supported_units = {Unit.sat}
|
||||
unit = Unit.sat
|
||||
supports_incoming_payment_stream: bool = True
|
||||
supports_description: bool = True
|
||||
|
||||
Reference in New Issue
Block a user