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:
Pavol Rusnak
2024-09-24 13:53:35 +02:00
committed by GitHub
parent 870d75b205
commit 25f0763f94
16 changed files with 23 additions and 23 deletions

View File

@@ -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