Apply pylint's linting rules to bfxapi/websocket/__init__.py, bfxapi/websocket/enums.py, bfxapi/websocket/exceptions.py, bfxapi/websocket/serializers.py and bfxapi/websocket/subscriptions.py.

This commit is contained in:
Davide Casale
2023-03-06 17:28:56 +01:00
parent 7288d05939
commit a7f5aa684a
6 changed files with 14 additions and 24 deletions

View File

@@ -15,12 +15,14 @@ _Header = TypedDict("_Header", { "event": Literal["subscribed"], "channel": str,
Subscription = Union["Ticker", "Trades", "Book", "Candles", "Status"]
class Ticker(TypedDict):
subId: str; symbol: str
subId: str
symbol: str
pair: Optional[str]
currency: Optional[str]
class Trades(TypedDict):
subId: str; symbol: str
subId: str
symbol: str
pair: Optional[str]
currency: Optional[str]
@@ -38,4 +40,4 @@ class Candles(TypedDict):
class Status(TypedDict):
subId: str
key: str
key: str