Skip to content

Commit e7b4566

Browse files
Update ws init lint formatting (#661)
* Update ws init lint formatting * Added black updates
1 parent 9e83bd8 commit e7b4566

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

Diff for: poetry.lock

+24-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: polygon/websocket/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ async def connect(
127127
self.schedule_resub = False
128128

129129
try:
130-
cmsg: Union[
131-
List[WebSocketMessage], Union[str, bytes]
132-
] = await asyncio.wait_for(s.recv(), timeout=1)
130+
cmsg: Union[List[WebSocketMessage], Union[str, bytes]] = (
131+
await asyncio.wait_for(s.recv(), timeout=1)
132+
)
133133
except asyncio.TimeoutError:
134134
continue
135135

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ websockets = ">=10.3,<13.0"
3030
certifi = ">=2022.5.18,<2025.0.0"
3131

3232
[tool.poetry.dev-dependencies]
33-
black = "^23.12.1"
33+
black = "^24.4.2"
3434
mypy = "^1.10"
3535
types-urllib3 = "^1.26.25"
3636
Sphinx = "^7.1.2"

0 commit comments

Comments
 (0)